Klasse CLIOption

java.lang.Object
de.dlr.proseo.ui.cli.parser.CLIOption

public class CLIOption extends Object
Class representing a prosEO CLI command option
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • CLIOption

      public CLIOption()
  • Methodendetails

    • getName

      public String getName()
      Gets the option's name
      Gibt zurück:
      the name
    • setName

      public void setName(String name)
      Sets the option's name
      Parameter:
      name - the name to set
    • getType

      public String getType()
      Gets the option's type
      Gibt zurück:
      the type
    • setType

      public void setType(String type)
      Sets the option's type
      Parameter:
      type - the type to set
    • getDescription

      public String getDescription()
      Gets the option's description
      Gibt zurück:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the option's description
      Parameter:
      description - the description to set
    • getShortForm

      public Character getShortForm()
      Gets the option's short form
      Gibt zurück:
      the shortForm
    • setShortForm

      public void setShortForm(Character shortForm)
      Sets the option's short form
      Parameter:
      shortForm - the shortForm to set
    • toString

      public String toString()
      Returns the option in string format
      Setzt außer Kraft:
      toString in Klasse Object
      Gibt zurück:
      the option in string format
    • printHTML

      public StringBuilder printHTML(StringBuilder htmlDoc)
      Appends the StringBuilder provided by the caller with HTML code that prints a table with the option's name, short form (if applicable) and description.
      Parameter:
      htmlDoc - A StringBuilder that may already contain information.
      Gibt zurück:
      The same StringBuilder, appended information on the option.