Class Action

java.lang.Object
com.google.appengine.tools.util.Action

public abstract class Action extends Object
A command line action.
  • Constructor Details

    • Action

      public Action(String... names)
    • Action

      public Action(List<Option> options, String... names)
      Constructor
      Parameters:
      options - The list of Options that are specially applicable to this Action beyond the Options that are generally applicable. Currently this list is used only for generating help text.
      names - The names for this Action
  • Method Details

    • getNames

      public String[] getNames()
    • getNameString

      public String getNameString()
    • getOptions

      public List<Option> getOptions()
    • setOptions

      public void setOptions(List<Option> extraOptions)
    • setShortDescription

      public void setShortDescription(String description)
    • getShortDescription

      public String getShortDescription()
    • getArgs

      public List<String> getArgs()
    • apply

      public abstract void apply()
      Reads the value parsed for the Action and applies the appropriate logic.
      Throws:
      IllegalArgumentException - if the parsed value is invalid.
    • getHelpString

      public String getHelpString()