Class 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 working Node
    • Constructor Detail

      • AddNode

        public AddNode()
    • Method Detail

      • execute

        public boolean execute​(org.apache.commons.chain.Context ctx)
                        throws Exception
        Specified by:
        execute in interface org.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