public class AddNode extends Object implements org.apache.commons.chain.Command
Node
Constructor and Description |
---|
AddNode() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context ctx) |
String |
getRelPathKey() |
String |
getTypeKey() |
void |
setRelPathKey(String relPathKey) |
void |
setTypeKey(String nodeTypeKey) |
public boolean execute(org.apache.commons.chain.Context ctx) throws Exception
execute
in interface org.apache.commons.chain.Command
Exception
public String getTypeKey()
public void setTypeKey(String nodeTypeKey)
nodeTypeKey
- Set the context attribute key for the node type attribute.public String getRelPathKey()
public void setRelPathKey(String relPathKey)
relPathKey
- the relative path key to setCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.