org.jboss.dna.connector.federation.executor
Class ProjectedCopyBranchCommand

java.lang.Object
  extended by org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand<CopyBranchCommand>
      extended by org.jboss.dna.connector.federation.executor.ProjectedCopyBranchCommand
All Implemented Interfaces:
ActsAsUpdate, ActsOnPath, CopyBranchCommand, CopyNodeCommand, GraphCommand

public class ProjectedCopyBranchCommand
extends ActsOnProjectedPathCommand<CopyBranchCommand>
implements CopyBranchCommand

Author:
Randall Hauch

Constructor Summary
ProjectedCopyBranchCommand(CopyBranchCommand delegate, Path projectedPath, Path newProjectedPath)
           
 
Method Summary
 Path getNewPath()
          Get the new path to which the copy is to be made.
 
Methods inherited from class org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand
getError, getPath, hasError, hasNoError, isCancelled, setError
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

ProjectedCopyBranchCommand

public ProjectedCopyBranchCommand(CopyBranchCommand delegate,
                                  Path projectedPath,
                                  Path newProjectedPath)
Method Detail

getNewPath

public Path getNewPath()
Get the new path to which the copy is to be made.

Specified by:
getNewPath in interface CopyNodeCommand
Returns:
the new path; never null
See Also:
CopyNodeCommand.getNewPath()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.