|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.Graph.AbstractAction<T>
org.modeshape.graph.Graph.ApplyFunctionAction<T>
public abstract class Graph.ApplyFunctionAction<T>
| Constructor Summary | |
|---|---|
protected |
Graph.ApplyFunctionAction(Function function,
String workspace,
T afterConjunction)
|
| Method Summary | |
|---|---|
T |
and()
Finish the request and prepare to start another. |
Graph.WithInput<T> |
and(String parameterName,
Object parameterValue)
Specify the name and value of an input to be passed to the function when it is executed. |
protected abstract T |
submit(Location parent,
String workspaceName,
Function function,
Map<String,Serializable> inputs)
|
T |
to(Location desiredLocation)
Finish the request by specifying the Location.create where the node should be copied/moved. |
T |
to(Path desiredPath)
Finish the request by specifying the Location.create where the node should be copied/moved. |
T |
to(String desiredPath)
Finish the request by specifying the Location.create where the node should be copied/moved. |
Graph.WithInput<T> |
withInput(String parameterName,
Object parameterValue)
Specify the name and value of an input to be passed to the function when it is executed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Graph.ApplyFunctionAction(Function function,
String workspace,
T afterConjunction)
| Method Detail |
|---|
public T and()
and in interface Graph.Conjunction<T>and in class Graph.AbstractAction<T>Graph.AbstractAction.and()public T to(Location desiredLocation)
Graph.Into.into(Location), which specifies the location of the parent and which assumes the new node should have the
same name as the original, this method allows the caller to specify a new name for the new node.
to in interface Graph.To<T>desiredLocation - the desired location for the new node, which must have a path
Graph.To.to(org.modeshape.graph.Location)public T to(String desiredPath)
Graph.Into.into(String), which specifies the location of the parent and which assumes the new node should have the
same name as the original, this method allows the caller to specify a new name for the new node.
to in interface Graph.To<T>desiredPath - the path for the new node
Graph.To.to(java.lang.String)public T to(Path desiredPath)
Graph.Into.into(Path) , which specifies the location of the parent and which assumes the new node should have the
same name as the original, this method allows the caller to specify a new name for the new node.
to in interface Graph.To<T>desiredPath - the path for the new node
Graph.To.to(org.modeshape.graph.property.Path)
public Graph.WithInput<T> withInput(String parameterName,
Object parameterValue)
withInput in interface Graph.WithInput<T>parameterName - the parameter nameparameterValue - the parameter value
Graph.WithInput.withInput(java.lang.String, java.lang.Object)
public Graph.WithInput<T> and(String parameterName,
Object parameterValue)
and in interface Graph.WithInput<T>parameterName - the parameter nameparameterValue - the parameter value
Graph.WithInput.and(java.lang.String, java.lang.Object)
protected abstract T submit(Location parent,
String workspaceName,
Function function,
Map<String,Serializable> inputs)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||