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 boolean
execute(org.apache.commons.chain.Context ctx)
String
getRelPathKey()
String
getTypeKey()
void
setRelPathKey(String relPathKey)
void
setTypeKey(String nodeTypeKey)
-
-
-
Method Detail
-
execute
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
- Specified by:
execute
in 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
-
-