org.jboss.dna.graph.commands
Interface MoveBranchCommand

All Superinterfaces:
ActsAsUpdate, ActsOnPath, GraphCommand
All Known Implementing Classes:
BasicMoveBranchCommand, ProjectedMoveBranchCommand

public interface MoveBranchCommand
extends GraphCommand, ActsOnPath, ActsAsUpdate

Command that moves a branch from one path to another.

Author:
Randall Hauch

Method Summary
 NodeConflictBehavior getConflictBehavior()
          Get the desired behavior when a node at the target path already exists.
 Path getNewPath()
          Get the new path to which the branch is to be moved.
 
Methods inherited from interface org.jboss.dna.graph.commands.GraphCommand
getError, hasError, hasNoError, isCancelled, setError
 
Methods inherited from interface org.jboss.dna.graph.commands.ActsOnPath
getPath
 

Method Detail

getNewPath

Path getNewPath()
Get the new path to which the branch is to be moved.

Returns:
the new path; never null

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.