|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.vcscore.commands.CommandTaskInfo
Info, that is used to submit a task into CommandProcessor.
Constructor Summary | |
CommandTaskInfo()
|
Method Summary | |
protected abstract void |
cancel()
|
abstract boolean |
canRun()
Whether the task can be executed right now. |
long |
getCommandID()
|
long |
getExecutionTime()
|
long |
getFinishTime()
|
Exception |
getOrigin()
In debug mode returns allocation stack trace. |
long |
getStartTime()
|
abstract CommandTask |
getTask()
Get the associated task. |
boolean |
isInterrupted()
|
void |
register()
Register this task info in CommandProcessor. |
abstract void |
run()
Execute the task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandTaskInfo()
Method Detail |
public abstract boolean canRun()
public abstract void run()
public abstract CommandTask getTask()
public final void register()
public final long getCommandID()
public boolean isInterrupted()
protected abstract void cancel()
public final long getStartTime()
public final long getFinishTime()
public final long getExecutionTime()
public final Exception getOrigin()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |