org.jboss.dna.graph.commands.basic
Class BasicDeleteBranchCommand
java.lang.Object
org.jboss.dna.graph.commands.basic.BasicGraphCommand
org.jboss.dna.graph.commands.basic.BasicDeleteBranchCommand
- All Implemented Interfaces:
- ActsAsUpdate, ActsOnPath, DeleteBranchCommand, GraphCommand
@NotThreadSafe
public class BasicDeleteBranchCommand
- extends BasicGraphCommand
- implements DeleteBranchCommand
- Author:
- Randall Hauch
BasicDeleteBranchCommand
public BasicDeleteBranchCommand(Path path)
- Parameters:
path
- the path to the node; may not be null
getPath
public Path getPath()
- Get the path to which this command applies. If the path does not exist, an
PathNotFoundException
exception should
be recorded as an error
.
- Specified by:
getPath
in interface ActsOnPath
- Returns:
- the path; never null
toString
public String toString()
-
- Overrides:
toString
in class Object
- See Also:
Object.toString()
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.