T - the return type of the command's run methodpublic abstract class UnknownEMFStoreWorkloadCommand<T> extends Object
IProgressMonitor instance that is passed
to the run method is incremented every| Constructor and Description |
|---|
UnknownEMFStoreWorkloadCommand(org.eclipse.core.runtime.IProgressMonitor monitor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
execute()
Executes the command.
|
int |
getWorked()
Returns how many ticks the command has incremented the monitor.
|
abstract T |
run(org.eclipse.core.runtime.IProgressMonitor monitor)
The actual behavior of the command that is meant to be implemented by clients.
|
public UnknownEMFStoreWorkloadCommand(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor - the monitor that will be used to indicate that the command is in progresspublic T execute() throws ESException
ESException - in case the command throws an exceptionpublic int getWorked()
public abstract T run(org.eclipse.core.runtime.IProgressMonitor monitor) throws ESException
monitor - a progress monitor that is used to indicateTESException - in case the command throws an exceptionCopyright © 2017. All rights reserved.