|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.update.standalone.ScriptedCommand
Parent class for all the update manager standalone commands. Subclasses will provide specific operations and the implementation of the run() method.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Field Summary | |
protected boolean | verifyOnly
|
Constructor Summary | |
ScriptedCommand()
Constructor | |
ScriptedCommand(String verifyOnly)
Constructor. |
Method Summary | |
boolean | afterExecute(IOperation operation,
Object data)
May be called after an operation finishes executing. |
void | applyChangesNow()
Applies the changes made to the current configuration. |
boolean | beforeExecute(IOperation operation,
Object data)
May be called before an operation starts executing. |
IInstallConfiguration | getConfiguration()
|
protected boolean | isVerifyOnly()
|
boolean | run()
Convenience method that executes the command with a null progress monitor. |
abstract boolean | run(IProgressMonitor monitor)
Executes the command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean verifyOnly
Constructor Detail |
public ScriptedCommand()
public ScriptedCommand(String verifyOnly)
Method Detail |
protected final boolean isVerifyOnly()
public final boolean run()
public abstract boolean run(IProgressMonitor monitor)
public void applyChangesNow()
public boolean afterExecute(IOperation operation, Object data)
public boolean beforeExecute(IOperation operation, Object data)
public final IInstallConfiguration getConfiguration()
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.