|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.graph.commands.basic.BasicGraphCommand
@NotThreadSafe public abstract class BasicGraphCommand

| Constructor Summary | |
|---|---|
BasicGraphCommand()
|
|
| Method Summary | |
|---|---|
Throwable |
getError()
Get the error for this command. |
boolean |
hasError()
Return true if this command has an error. |
boolean |
hasNoError()
Convenience method that is equivalent to ! |
boolean |
isCancelled()
Return whether this command has been cancelled. |
void |
setCancelled(boolean cancelled)
|
void |
setError(Throwable t)
Set the error for this command. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicGraphCommand()
| Method Detail |
|---|
public boolean isCancelled()
isCancelled in interface GraphCommandpublic void setCancelled(boolean cancelled)
cancelled - Sets cancelled to the specified value.public void setError(Throwable t)
setError in interface GraphCommandt - the exceptionGraphCommand.setError(java.lang.Throwable)public Throwable getError()
getError in interface GraphCommandGraphCommand.getError()public boolean hasError()
error.
hasError in interface GraphCommandGraphCommand.hasError()public boolean hasNoError()
GraphCommand!hasError().
hasNoError in interface GraphCommandGraphCommand.getError(),
GraphCommand.setError(Throwable),
GraphCommand.hasError()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||