org.jboss.dna.graph.commands
Interface CreateNodeCommand
- All Superinterfaces:
- ActsAsUpdate, ActsOnPath, ActsOnProperties, Comparable<CreateNodeCommand>, GraphCommand
- All Known Implementing Classes:
- BasicCreateNodeCommand, FederatedNode, ProjectedCreateNodeCommand
public interface CreateNodeCommand
- extends GraphCommand, ActsOnPath, ActsOnProperties, ActsAsUpdate, Comparable<CreateNodeCommand>
A command to get the children of a single node given its path.
- Author:
- Randall Hauch
getProperties
Collection<Property> getProperties()
- Get the properties for this new node. The recipient of the command should
remove
any property
that will not be stored.
- Specified by:
getProperties
in interface ActsOnProperties
- Returns:
- the property iterator; never null, but possibly empty
getConflictBehavior
NodeConflictBehavior getConflictBehavior()
- Get the desired behavior when a node at the target
path
already exists.
- Returns:
- the desired behavior; never null
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.