Class OrderBefore

  • All Implemented Interfaces:
    org.apache.commons.chain.Command

    public class OrderBefore
    extends Object
    implements org.apache.commons.chain.Command
    Set the order of the given Node
    • Constructor Detail

      • OrderBefore

        public OrderBefore()
    • 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
      • getDestChildKey

        public String getDestChildKey()
        Returns:
        the destination child key
      • setDestChildKey

        public void setDestChildKey​(String destChildRelPathKey)
        Parameters:
        destChildRelPathKey - the destination child key to set
      • getSrcChildKey

        public String getSrcChildKey()
        Returns:
        the source child key
      • setSrcChildKey

        public void setSrcChildKey​(String srcChildRelPathKey)
        Parameters:
        srcChildRelPathKey - the source child key to set
      • getParentPathKey

        public String getParentPathKey()
        Returns:
        the parent path key
      • setParentPathKey

        public void setParentPathKey​(String parentPathKey)
        Parameters:
        parentPathKey - the parent path key to set