org.jboss.dna.connector.federation.executor
Class ProjectedCreateNodeCommand
java.lang.Object
org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand<CreateNodeCommand>
org.jboss.dna.connector.federation.executor.ProjectedCreateNodeCommand
- All Implemented Interfaces:
- Comparable<CreateNodeCommand>, ActsAsUpdate, ActsOnPath, ActsOnProperties, CreateNodeCommand, GraphCommand
public class ProjectedCreateNodeCommand
- extends ActsOnProjectedPathCommand<CreateNodeCommand>
- implements CreateNodeCommand
- Author:
- Randall Hauch
ProjectedCreateNodeCommand
public ProjectedCreateNodeCommand(CreateNodeCommand delegate,
Path projectedPath)
getConflictBehavior
public NodeConflictBehavior getConflictBehavior()
- Get the desired behavior when a node at the target
path
already exists.
- Specified by:
getConflictBehavior
in interface CreateNodeCommand
- Returns:
- the desired behavior; never null
- See Also:
CreateNodeCommand.getConflictBehavior()
getProperties
public Collection<Property> getProperties()
- Get the properties. Any property with no values will be removed.
- Specified by:
getProperties
in interface ActsOnProperties
- Specified by:
getProperties
in interface CreateNodeCommand
- Returns:
- the properties
- See Also:
CreateNodeCommand.getProperties()
compareTo
public int compareTo(CreateNodeCommand that)
-
- Specified by:
compareTo
in interface Comparable<CreateNodeCommand>
- See Also:
Comparable.compareTo(java.lang.Object)
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.