Used to instruct a CommandRetry object on whether a retry for an action should be performed
Allows any action to be retried in case of an exception.
This class can be parametrized with a strategy, which will be followed to determine whether the action should be retried.