Class VerboseFlag

All Implemented Interfaces:
Cloneable, Comparable<Operand<?>>, ArgsAccessor, Constituent, Operand<Boolean>, Option<Boolean>, Synopsisable, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.Clonable, org.refcodes.mixin.DescriptionAccessor, org.refcodes.mixin.EnabledAccessor, org.refcodes.mixin.Resetable, org.refcodes.mixin.Schemable, org.refcodes.mixin.TypeAccessor<Boolean>, org.refcodes.mixin.ValueAccessor<Boolean>

public class VerboseFlag extends Flag
A predefined verbose Flag: A predefined Flag gives its SHORT_OPTION, its LONG_OPTION as well as its ALIAS an according semantics regarded by other subsystems.
  • Field Details

  • Constructor Details

    • VerboseFlag

      public VerboseFlag(String aDescription)
      Constructs the predefined verbose Flag.
      Parameters:
      aDescription - The description to be used (without any line breaks).
    • VerboseFlag

      public VerboseFlag(String aDescription, boolean hasShortOption)
      Constructs the predefined clean Flag.
      Parameters:
      aDescription - The description to be used (without any line breaks).
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
    • VerboseFlag

      public VerboseFlag()
      Constructs the predefined verbose Flag.
    • VerboseFlag

      public VerboseFlag(boolean hasShortOption)
      Constructs the predefined verbose Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.refcodes.mixin.DescriptionAccessor