Package de.hybris.platform.task.impl
Class DefaultBusinessProcessRestartStrategy
java.lang.Object
de.hybris.platform.task.impl.DefaultBusinessProcessRestartStrategy
- All Implemented Interfaces:
BusinessProcessRestartStrategy
public class DefaultBusinessProcessRestartStrategy
extends Object
implements BusinessProcessRestartStrategy
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultBusinessProcessRestartStrategy(TaskDAO taskDAO, ModelService modelService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanMakes a request if the restart business process is possible.
-
Field Details
-
PROCESSENGINE_PROCESS_RESTART_RETRIES
- See Also:
-
PROCESSENGINE_PROCESS_RESTART_MILLIS
- See Also:
-
PROCESSENGINE_PROCESS_RESTART_EXCEPTION_IF_FAILED
- See Also:
-
-
Constructor Details
-
DefaultBusinessProcessRestartStrategy
-
-
Method Details
-
makeARequestToRestartProcess
Description copied from interface:BusinessProcessRestartStrategyMakes a request if the restart business process is possible. Removes all unlocked tasks for given business process if all of business process tasks are unlocked.- Specified by:
makeARequestToRestartProcessin interfaceBusinessProcessRestartStrategy- Parameters:
process- business process model- Returns:
- if the restart is possible
-