Eclipse Platform
Kepler (4.3)

org.eclipse.equinox.p2.engine.spi
Class ProvisioningAction

java.lang.Object
  extended by org.eclipse.equinox.p2.engine.spi.ProvisioningAction

public abstract class ProvisioningAction
extends Object

Since:
2.0

Constructor Summary
ProvisioningAction()
           
 
Method Summary
abstract  IStatus execute(Map<String,Object> parameters)
           
protected  Memento getMemento()
           
 Value<?> getResult()
          This method is meant for provisioning actions that need to communicate the result of their execution to subsequent actions.
 Touchpoint getTouchpoint()
           
 void setTouchpoint(Touchpoint touchpoint)
           
abstract  IStatus undo(Map<String,Object> parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProvisioningAction

public ProvisioningAction()
Method Detail

getMemento

protected Memento getMemento()

execute

public abstract IStatus execute(Map<String,Object> parameters)

undo

public abstract IStatus undo(Map<String,Object> parameters)

getResult

public Value<?> 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.

setTouchpoint

public void setTouchpoint(Touchpoint touchpoint)

getTouchpoint

public Touchpoint getTouchpoint()

Eclipse Platform
Kepler (4.3)

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.