Class CurationCli

All Implemented Interfaces:
Runnable

public class CurationCli extends Curation
This is the CLI version of the Curation script. This will only be called when the curate script is called from a commandline instance.
  • Constructor Details

    • CurationCli

      public CurationCli()
  • Method Details

    • assignCurrentUserInContext

      protected void assignCurrentUserInContext() throws org.apache.commons.cli.ParseException
      This is the overridden instance of the Curation.assignCurrentUserInContext() method in the parent class Curation. 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 Curation
      Throws:
      org.apache.commons.cli.ParseException - If the e flag was not given to the parameters when calling the script