Class AddNode
- java.lang.Object
-
- org.apache.jackrabbit.standalone.cli.core.AddNode
-
- All Implemented Interfaces:
org.apache.commons.chain.Command
public class AddNode extends Object implements org.apache.commons.chain.Command
Add a node to the current workingNode
-
-
Constructor Summary
Constructors Constructor Description AddNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(org.apache.commons.chain.Context ctx)StringgetRelPathKey()StringgetTypeKey()voidsetRelPathKey(String relPathKey)voidsetTypeKey(String nodeTypeKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception- Specified by:
executein interfaceorg.apache.commons.chain.Command- Throws:
Exception
-
getTypeKey
public String getTypeKey()
- Returns:
- the nodeTypeKey.
-
setTypeKey
public void setTypeKey(String nodeTypeKey)
- Parameters:
nodeTypeKey- Set the context attribute key for the node type attribute.
-
getRelPathKey
public String getRelPathKey()
- Returns:
- the relative path.
-
setRelPathKey
public void setRelPathKey(String relPathKey)
- Parameters:
relPathKey- the relative path key to set
-
-