public class IndividualCommandManager<C extends IEfferentCommand>
extends java.lang.Object
Constructor and Description |
---|
IndividualCommandManager(EfferentCommandManager<C> manager,
IIdentifier command) |
Modifier and Type | Method and Description |
---|---|
boolean |
canAbort() |
boolean |
canExecute() |
C |
getCommand() |
IIdentifier |
getIdentifier() |
IEfferentCommand.ActualState |
getState() |
boolean |
hasAborted() |
boolean |
hasCompleted() |
boolean |
isDone() |
boolean |
isRunning() |
boolean |
update()
update the states, and return true if some signalling (outside the locks)
is necessary.
|
boolean |
update(IEfferentCommand command) |
public IndividualCommandManager(EfferentCommandManager<C> manager, IIdentifier command)
public C getCommand()
public IIdentifier getIdentifier()
public IEfferentCommand.ActualState getState()
public boolean canAbort()
public boolean canExecute()
public boolean hasCompleted()
public boolean isRunning()
public boolean hasAborted()
public boolean isDone()
public boolean update()
public boolean update(IEfferentCommand command)