Class ProvisioningAction
java.lang.Object
org.eclipse.equinox.p2.engine.spi.ProvisioningAction
An action that performs one step of a provisioning operation for a particular
Touchpoint
.- Since:
- 2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract IStatus
Performs the provisioning action.protected Memento
Value<?>
This method is meant for provisioning actions that need to communicate the result of their execution to subsequent actions.Returns the touchpoint that this action is operating under.void
setTouchpoint
(Touchpoint touchpoint) abstract IStatus
Performs the inverse of this provisioning action.
-
Constructor Details
-
ProvisioningAction
public ProvisioningAction()
-
-
Method Details
-
getMemento
-
execute
Performs the provisioning action.- Parameters:
parameters
- The action parameters- Returns:
- A status indicating whether the action was successful
-
undo
Performs the inverse of this provisioning action. This should reverse any effects from a previous invocation of theexecute(Map)
method.- Parameters:
parameters
- The action parameters- Returns:
- A status indicating whether the action was successful
-
getResult
This method is meant for provisioning actions that need to communicate the result of their execution to subsequent actions. This method is only invoked by p2 once execute() has been executed.- Returns:
- the result of the action execution.
- Since:
- 2.3
-
setTouchpoint
-
getTouchpoint
Returns the touchpoint that this action is operating under.- Returns:
- the touchpoint
-