|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand<T>
T
- the command typepublic class ActsOnProjectedPathCommand<T extends ActsOnPath & GraphCommand>
Method Summary | |
---|---|
Throwable |
getError()
Get the error for this command. |
Path |
getPath()
Get the path to which this command applies. |
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 |
setError(Throwable error)
Set the error for this command. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Path getPath()
PathNotFoundException
exception should
be recorded as an error
.
getPath
in interface ActsOnPath
ActsOnPath.getPath()
public Throwable getError()
getError
in interface GraphCommand
GraphCommand.getError()
public boolean hasError()
error
.
hasError
in interface GraphCommand
GraphCommand.hasError()
public boolean hasNoError()
!hasError()
.
hasNoError
in interface GraphCommand
GraphCommand.hasNoError()
public boolean isCancelled()
isCancelled
in interface GraphCommand
GraphCommand.isCancelled()
public void setError(Throwable error)
setError
in interface GraphCommand
error
- the exceptionGraphCommand.setError(java.lang.Throwable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |