|
|||||||||
| 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 | |
|---|---|
protected List<Path.Segment> |
createChildrenList(Iterable<Path.Segment> namesOfChildren)
|
protected List<Path.Segment> |
createChildrenList(Iterator<Path.Segment> namesOfChildren)
|
protected List<Path.Segment> |
createChildrenList(Name nameOfChild)
|
protected static List<Path.Segment> |
createChildrenList(Path.Segment... namesOfChildren)
|
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. |
protected static void |
setProperty(Map<Name,List<Object>> propertyValues,
Name propertyName,
Iterable<?> values)
|
protected static void |
setProperty(Map<Name,List<Object>> propertyValues,
Name propertyName,
Iterator<?> values)
|
protected static void |
setProperty(Map<Name,List<Object>> propertyValues,
Name propertyName,
Object... values)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, 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()protected List<Path.Segment> createChildrenList(Name nameOfChild)
protected List<Path.Segment> createChildrenList(Iterator<Path.Segment> namesOfChildren)
protected List<Path.Segment> createChildrenList(Iterable<Path.Segment> namesOfChildren)
protected static List<Path.Segment> createChildrenList(Path.Segment... namesOfChildren)
protected static void setProperty(Map<Name,List<Object>> propertyValues,
Name propertyName,
Object... values)
protected static void setProperty(Map<Name,List<Object>> propertyValues,
Name propertyName,
Iterable<?> values)
protected static void setProperty(Map<Name,List<Object>> propertyValues,
Name propertyName,
Iterator<?> values)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||