org.jboss.dna.connector.federation.executor
Class ProjectedMoveBranchCommand
java.lang.Object
org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand<MoveBranchCommand>
org.jboss.dna.connector.federation.executor.ProjectedMoveBranchCommand
- All Implemented Interfaces:
- ActsAsUpdate, ActsOnPath, GraphCommand, MoveBranchCommand
public class ProjectedMoveBranchCommand
- extends ActsOnProjectedPathCommand<MoveBranchCommand>
- implements MoveBranchCommand
- Author:
- Randall Hauch
ProjectedMoveBranchCommand
public ProjectedMoveBranchCommand(MoveBranchCommand delegate,
Path projectedPath,
Path newProjectedPath)
getConflictBehavior
public NodeConflictBehavior getConflictBehavior()
- Get the desired behavior when a node at the target
path
already exists.
- Specified by:
getConflictBehavior
in interface MoveBranchCommand
- Returns:
- the desired behavior; never null
- See Also:
MoveBranchCommand.getConflictBehavior()
getNewPath
public Path getNewPath()
- Get the new path to which the branch is to be moved.
- Specified by:
getNewPath
in interface MoveBranchCommand
- Returns:
- the new path; never null
- See Also:
MoveBranchCommand.getNewPath()
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.