Class SourceCommand

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

    public class SourceCommand
    extends Object
    implements org.apache.commons.chain.Command
    Executes a script from the given file
    • Constructor Detail

      • SourceCommand

        public SourceCommand()
    • Method Detail

      • getFileKey

        public String getFileKey()
        Returns:
        Returns the file.
      • setFileKey

        public void setFileKey​(String file)
        Parameters:
        file - The file to set.
      • execute

        public boolean execute​(org.apache.commons.chain.Context ctx)
                        throws Exception
        Specified by:
        execute in interface org.apache.commons.chain.Command
        Throws:
        Exception