Class Cat

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

    public class Cat
    extends Object
    implements org.apache.commons.chain.Command
    Display the content of a Property or a Node of type nt:file or nt:resource.
    • Constructor Detail

      • Cat

        public Cat()
    • 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
      • getPathKey

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

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

        public String getIndexKey()
        Returns:
        the index key
      • setIndexKey

        public void setIndexKey​(String indexKey)
        Parameters:
        indexKey - the index key to set