Class RemoveItems

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

    public class RemoveItems
    extends Object
    implements org.apache.commons.chain.Command
    Remove any Item under the given Node that match the given name pattern.
    • Constructor Detail

      • RemoveItems

        public RemoveItems()
    • 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
      • getPatternKey

        public String getPatternKey()
        Returns:
        the pattern key
      • setPatternKey

        public void setPatternKey​(String patternKey)
        Parameters:
        patternKey - the pattern key to set
      • getPathKey

        public String getPathKey()
        Returns:
        the path key
      • setPathKey

        public void setPathKey​(String pathKey)
        Parameters:
        pathKey - the path key to set