Class HarvestCli

  • All Implemented Interfaces:
    Runnable

    public class HarvestCli
    extends Harvest
    • Constructor Detail

      • HarvestCli

        public HarvestCli()
    • Method Detail

      • assignCurrentUserInContext

        protected void assignCurrentUserInContext()
                                           throws org.apache.commons.cli.ParseException
        This is the overridden instance of the Harvest.assignCurrentUserInContext() method in the parent class Harvest. This is done so that the CLI version of the Script is able to retrieve its currentUser from the -e flag given with the parameters of the Script.
        Overrides:
        assignCurrentUserInContext in class Harvest
        Throws:
        org.apache.commons.cli.ParseException - If the e flag was not given to the parameters when calling the script