|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.sequencer.cnd.CndSequencer.OutputDestination
protected class CndSequencer.OutputDestination
Constructor Summary | |
---|---|
protected |
CndSequencer.OutputDestination(SequencerOutput output,
StreamSequencerContext context)
|
Method Summary | |
---|---|
protected Path |
checkPath(Path path)
|
void |
create(NodeConflictBehavior behavior,
Path path,
Property firstProperty,
Property... additionalProperties)
Create a node at the supplied path and with the supplied attributes, using the supplied behavior in case of a node conflict. |
void |
create(Path path,
Iterable<Property> properties)
Create a node at the supplied path and with the supplied attributes. |
void |
create(Path path,
Property firstProperty,
Property... additionalProperties)
Create a node at the supplied path and with the supplied attributes. |
ExecutionContext |
getExecutionContext()
Obtain the execution context of the destination. |
void |
setProperties(Path path,
Iterable<Property> properties)
Sets the given properties on the node at the supplied path. |
void |
setProperties(Path path,
Property... properties)
Sets the given properties on the node at the supplied path. |
void |
submit()
Signal to this destination that any enqueued create requests should be submitted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CndSequencer.OutputDestination(SequencerOutput output, StreamSequencerContext context)
Method Detail |
---|
public ExecutionContext getExecutionContext()
getExecutionContext
in interface Destination
Destination.getExecutionContext()
protected Path checkPath(Path path)
public void create(Path path, Iterable<Property> properties)
create
in interface Destination
path
- the absolute path of the nodeproperties
- the properties for the node; never null, but may be empty if there are no propertiesDestination.create(Path, Iterable)
public void create(Path path, Property firstProperty, Property... additionalProperties)
create
in interface Destination
path
- the absolute path of the nodefirstProperty
- the first propertyadditionalProperties
- the remaining properties for the nodeDestination.create(org.modeshape.graph.property.Path,
org.modeshape.graph.property.Property, org.modeshape.graph.property.Property[])
public void create(NodeConflictBehavior behavior, Path path, Property firstProperty, Property... additionalProperties)
create
in interface Destination
behavior
- the node conflict behaviorpath
- the absolute path of the nodefirstProperty
- the first propertyadditionalProperties
- the remaining properties for the nodeDestination.create(org.modeshape.graph.NodeConflictBehavior,
org.modeshape.graph.property.Path, org.modeshape.graph.property.Property, org.modeshape.graph.property.Property[])
public void setProperties(Path path, Property... properties)
setProperties
in interface Destination
path
- the absolute path of the nodeproperties
- the remaining properties for the nodeDestination.setProperties(org.modeshape.graph.property.Path,
org.modeshape.graph.property.Property[])
public void setProperties(Path path, Iterable<Property> properties)
setProperties
in interface Destination
path
- the absolute path of the nodeproperties
- the remaining properties for the nodeDestination.setProperties(org.modeshape.graph.property.Path, java.lang.Iterable)
public void submit()
submit
in interface Destination
Destination.submit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |