Class ExecutionPlanImpl
java.lang.Object
org.apache.jackrabbit.vault.packaging.registry.impl.ExecutionPlanImpl
- All Implemented Interfaces:
ExecutionPlan
ExecutionPlanImpl...-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull ExecutionPlanexecute()@NotNull StringgetId()An id of the execution plan.getTasks()Retrieves the list of all tasksbooleanChecks if execution of any of the tasks in the plan resulted in an error.booleanChecks if this plan has finished.
-
Constructor Details
-
ExecutionPlanImpl
-
-
Method Details
-
getTasks
Description copied from interface:ExecutionPlanRetrieves the list of all tasks- Specified by:
getTasksin interfaceExecutionPlan- Returns:
- the tasks.
-
getId
Description copied from interface:ExecutionPlanAn id of the execution plan.- Specified by:
getIdin interfaceExecutionPlan- Returns:
- the id.
-
isExecuted
public boolean isExecuted()Description copied from interface:ExecutionPlanChecks if this plan has finished.- Specified by:
isExecutedin interfaceExecutionPlan- Returns:
trueif executed.
-
hasErrors
public boolean hasErrors()Description copied from interface:ExecutionPlanChecks if execution of any of the tasks in the plan resulted in an error. Only returns a valid result in caseExecutionPlan.isExecuted()returnstrue. The concrete errors must be looked up fromExecutionPlan.getTasks().- Specified by:
hasErrorsin interfaceExecutionPlan- Returns:
trueif it has errors.
-
execute
- Throws:
IOExceptionPackageException
-