Class CliSugar

java.lang.Object
org.refcodes.cli.CliSugar

public class CliSugar extends Object
Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for the command line Flag, Condition, Option and Operand elements.
  • Method Details

    • all

      public static AllCondition all(Term aArg)
      Instantiates a new AllCondition with the Term. (Condition) instance to be nested.
      Parameters:
      aArg - The Term (Condition) instance to be nested.
      Returns:
      The according ALL condition.
      See Also:
    • and

      public static AndCondition and(Term... aArgs)
      Instantiates a new AndCondition with the Term. (Condition) instances to be nested.
      Parameters:
      aArgs - The Term (Condition) instances to be nested.
      Returns:
      The according AND condition.
      See Also:
    • any

      public static AnyCondition any(Term... aArgs)
      Instantiates a new AnyCondition with the Term. (Condition) instances to be nested. Any of the nested Condition conditions may match for the AnyCondition to match, e.g. all of the nested conditions are optional.
      Parameters:
      aArgs - The Term (Condition) instances to be nested
      Returns:
      The according AbstractCondition.
      See Also:
    • asArray

      public static <T> ArrayDirective<T> asArray(Directive<T> aDirective)
      Creates an array representation facade for the encapsulated Directive. This way any Directive can also be used as an array Directive, e.g. it can be provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Directive for which to create an ArrayDirective.
      Parameters:
      aDirective - The Directive which's array counterpart is to be defined.
      Returns:
      The according ArrayDirective.
    • asArray

      public static <T> ArrayDirective<T> asArray(Directive<T> aDirective, int aLength)
      Creates an array representation facade for the encapsulated Directive. This way any Directive can also be used as an array Directive, e.g. it can by provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Directive for which to create an ArrayDirective.
      Parameters:
      aDirective - The Directive which's array counterpart is to be defined.
      aLength - The number of array elements, or -1 if there is no limit.
      Returns:
      The according ArrayDirective.
    • asArray

      public static <T> ArrayDirective<T> asArray(Directive<T> aDirective, int aMinLength, int aMaxLength)
      Creates an array representation facade for the encapsulated Directive. This way any Directive can also be used as an array Directive, e.g. it can by provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Directive for which to create an ArrayDirective.
      Parameters:
      aDirective - The Directive which's array counterpart is to be defined.
      aMinLength - The minimum number of array elements, or -1 if there is no limit.
      aMaxLength - The maximum number of array elements, or -1 if there is no limit.
      Returns:
      The according ArrayDirective.
    • asArray

      public static <T> ArrayOperand<T> asArray(Operand<T> aOperand)
      Creates an array representation facade for the encapsulated Operand. This way any Operand can also be used as an array Operand, e.g. it can be provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Operand for which to create an ArrayOperand.
      Parameters:
      aOperand - The Operand which's array counterpart is to be defined.
      Returns:
      The according ArrayOperand.
    • asArray

      public static <T> ArrayOperand<T> asArray(Operand<T> aOperand, int aLength)
      Creates an array representation facade for the encapsulated Operand. This way any Operand can also be used as an array Operand, e.g. it can by provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Operand for which to create an ArrayOperand.
      Parameters:
      aOperand - The Operand which's array counterpart is to be defined.
      aLength - The number of array elements, or -1 if there is no limit.
      Returns:
      The according ArrayOperand.
    • asArray

      public static <T> ArrayOperand<T> asArray(Operand<T> aOperand, int aMinLength, int aMaxLength)
      Creates an array representation facade for the encapsulated Operand. This way any Operand can also be used as an array Operand, e.g. it can by provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Operand for which to create an ArrayOperand.
      Parameters:
      aOperand - The Operand which's array counterpart is to be defined.
      aMinLength - The minimum number of array elements, or -1 if there is no limit.
      aMaxLength - The maximum number of array elements, or -1 if there is no limit.
      Returns:
      The according ArrayOperand.
    • asArray

      public static <T> ArrayOption<T> asArray(Option<T> aOption)
      Creates an array representation facade for the encapsulated Option. This way any Option can also be used as an array Option, e.g. it can be provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Option for which to create an ArrayOption.
      Parameters:
      aOption - The Option which's array counterpart is to be defined.
      Returns:
      The according ArrayOption.
    • asArray

      public static <T> ArrayOption<T> asArray(Option<T> aOption, int aLength)
      Creates an array representation facade for the encapsulated Option. This way any Option can also be used as an array Option, e.g. it can by provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Option for which to create an ArrayOption.
      Parameters:
      aOption - The Option which's array counterpart is to be defined.
      aLength - The number of array elements, or -1 if there is no limit.
      Returns:
      The according ArrayOption.
    • asArray

      public static <T> ArrayOption<T> asArray(Option<T> aOption, int aMinLength, int aMaxLength)
      Creates an array representation facade for the encapsulated Option. This way any Option can also be used as an array Option, e.g. it can by provided multiple times in the command line arguments.
      Type Parameters:
      T - The type of the Option for which to create an ArrayOption.
      Parameters:
      aOption - The Option which's array counterpart is to be defined.
      aMinLength - The minimum number of array elements, or -1 if there is no limit.
      aMaxLength - The maximum number of array elements, or -1 if there is no limit.
      Returns:
      The according ArrayOption.
    • booleanDirective

      public static BooleanDirective booleanDirective(String aOperation, String aDescription)
      Instantiates a new BooleanDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this BooleanDirective.
      aDescription - The description of the BooleanDirective.
      Returns:
      The accordingly created BooleanDirective instance.
      See Also:
    • booleanDirective

      public static BooleanDirective booleanDirective(String aOperation, String aDescription, Consumer<BooleanDirective> aConsumer)
      Instantiates a new BooleanDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this BooleanDirective.
      aDescription - The description of the BooleanDirective.
      aConsumer - The Consumer being invoked in case this BooleanDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanDirective instance.
      See Also:
    • booleanDirective

      public static BooleanDirective booleanDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new BooleanDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this BooleanDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanDirective.
      Returns:
      The accordingly created BooleanDirective instance.
      See Also:
    • booleanDirective

      public static BooleanDirective booleanDirective(String aOperation, String aAlias, String aDescription, Consumer<BooleanDirective> aConsumer)
      Instantiates a new BooleanDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this BooleanDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanDirective.
      aConsumer - The Consumer being invoked in case this BooleanDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanDirective instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new BooleanOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the BooleanOption.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(Character aShortOption, String aLongOption, String aDescription, Consumer<BooleanOption> aConsumer)
      Instantiates a new BooleanOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the BooleanOption.
      aConsumer - The Consumer being invoked in case this BooleanOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new BooleanOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanOption.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<BooleanOption> aConsumer)
      Instantiates a new BooleanOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanOption.
      aConsumer - The Consumer being invoked in case this BooleanOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(String aLongOption, String aDescription)
      Instantiates a new BooleanOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the BooleanOption.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(String aLongOption, String aDescription, Consumer<BooleanOption> aConsumer)
      Instantiates a new BooleanOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the BooleanOption.
      aConsumer - The Consumer being invoked in case this BooleanOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new BooleanOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanOption.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanOption

      public static BooleanOption booleanOption(String aLongOption, String aAlias, String aDescription, Consumer<BooleanOption> aConsumer)
      Instantiates a new BooleanOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanOption.
      aConsumer - The Consumer being invoked in case this BooleanOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanOption instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new BooleanProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the BooleanProperty.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<BooleanProperty> aConsumer)
      Instantiates a new BooleanProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the BooleanProperty.
      aConsumer - The Consumer being invoked in case this BooleanProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new BooleanProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanProperty.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<BooleanProperty> aConsumer)
      Instantiates a new BooleanProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanProperty.
      aConsumer - The Consumer being invoked in case this BooleanProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(String aLongOption, String aDescription)
      Instantiates a new BooleanProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the BooleanProperty.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(String aLongOption, String aDescription, Consumer<BooleanProperty> aConsumer)
      Instantiates a new BooleanProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the BooleanProperty.
      aConsumer - The Consumer being invoked in case this BooleanProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new BooleanProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanProperty.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • booleanProperty

      public static BooleanProperty booleanProperty(String aLongOption, String aAlias, String aDescription, Consumer<BooleanProperty> aConsumer)
      Instantiates a new BooleanProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the BooleanProperty.
      aConsumer - The Consumer being invoked in case this BooleanProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created BooleanProperty instance.
      See Also:
    • cases

      public static CasesCondition cases(Term... aArgs)
      Instantiates a new CasesCondition with the Term. (Condition) instances to be nested.
      Parameters:
      aArgs - The Term (Condition) instances to be nested.
      Returns:
      The according CasesCondition (https://www.metacodes.pro XOR) condition.
      See Also:
    • charDirective

      public static CharDirective charDirective(String aOperation, String aDescription)
      Instantiates a new CharDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this CharDirective.
      aDescription - The description of the CharDirective.
      Returns:
      The accordingly created EnumDirectiveinstance.
      See Also:
    • charDirective

      public static CharDirective charDirective(String aOperation, String aDescription, Consumer<CharDirective> aConsumer)
      Instantiates a new CharDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this CharDirective.
      aDescription - The description of the CharDirective.
      aConsumer - The Consumer being invoked in case this CharDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharDirective instance.
      See Also:
    • charDirective

      public static CharDirective charDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new CharDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this CharDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharDirective.
      Returns:
      The accordingly created EnumDirectiveinstance.
      See Also:
    • charDirective

      public static CharDirective charDirective(String aOperation, String aAlias, String aDescription, Consumer<CharDirective> aConsumer)
      Instantiates a new CharDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this CharDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharDirective.
      aConsumer - The Consumer being invoked in case this CharDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharDirective instance.
      See Also:
    • charOption

      public static CharOption charOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new CharOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the CharOption.
      Returns:
      The accordingly created EnumOptioninstance.
      See Also:
    • charOption

      public static CharOption charOption(Character aShortOption, String aLongOption, String aDescription, Consumer<CharOption> aConsumer)
      Instantiates a new CharOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the CharOption.
      aConsumer - The Consumer being invoked in case this CharOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharOption instance.
      See Also:
    • charOption

      public static CharOption charOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new CharOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharOption.
      Returns:
      The accordingly created EnumOptioninstance.
      See Also:
    • charOption

      public static CharOption charOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<CharOption> aConsumer)
      Instantiates a new CharOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharOption.
      aConsumer - The Consumer being invoked in case this CharOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharOption instance.
      See Also:
    • charOption

      public static CharOption charOption(String aLongOption, String aDescription)
      Instantiates a new CharOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the CharOption.
      Returns:
      The accordingly created CharOption instance.
      See Also:
    • charOption

      public static CharOption charOption(String aLongOption, String aDescription, Consumer<CharOption> aConsumer)
      Instantiates a new CharOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the CharOption.
      aConsumer - The Consumer being invoked in case this CharOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharOption instance.
      See Also:
    • charOption

      public static CharOption charOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new CharOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharOption.
      Returns:
      The accordingly created CharOption instance.
      See Also:
    • charOption

      public static CharOption charOption(String aLongOption, String aAlias, String aDescription, Consumer<CharOption> aConsumer)
      Instantiates a new CharOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharOption.
      aConsumer - The Consumer being invoked in case this CharOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharOption instance.
      See Also:
    • charProperty

      public static CharProperty charProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new CharProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the CharProperty.
      Returns:
      The accordingly created EnumPropertyinstance.
      See Also:
    • charProperty

      public static CharProperty charProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<CharProperty> aConsumer)
      Instantiates a new CharProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the CharProperty.
      aConsumer - The Consumer being invoked in case this CharProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumPropertyinstance.
      See Also:
    • charProperty

      public static CharProperty charProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new CharProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharProperty.
      Returns:
      The accordingly created EnumPropertyinstance.
      See Also:
    • charProperty

      public static CharProperty charProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<CharProperty> aConsumer)
      Instantiates a new CharProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharProperty.
      aConsumer - The Consumer being invoked in case this CharProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumPropertyinstance.
      See Also:
    • charProperty

      public static CharProperty charProperty(String aLongOption, String aDescription)
      Instantiates a new CharProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the CharProperty.
      Returns:
      The accordingly created CharProperty instance.
      See Also:
    • charProperty

      public static CharProperty charProperty(String aLongOption, String aDescription, Consumer<CharProperty> aConsumer)
      Instantiates a new CharProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the CharProperty.
      aConsumer - The Consumer being invoked in case this CharProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharProperty instance.
      See Also:
    • charProperty

      public static CharProperty charProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new CharProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharProperty.
      Returns:
      The accordingly created CharProperty instance.
      See Also:
    • charProperty

      public static CharProperty charProperty(String aLongOption, String aAlias, String aDescription, Consumer<CharProperty> aConsumer)
      Instantiates a new CharProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the CharProperty.
      aConsumer - The Consumer being invoked in case this CharProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created CharProperty instance.
      See Also:
    • cleanFlag

      public static CleanFlag cleanFlag()
      Constructs the predefined clean Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • cleanFlag

      public static CleanFlag cleanFlag(boolean hasShortOption)
      Constructs the predefined clean Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • cleanFlag

      public static CleanFlag cleanFlag(String aDescription)
      Constructs the predefined clean Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • configOption

      public static ConfigOption configOption()
      Creates a ConfigOption representing value specifying a configuration resource (file).
      Returns:
      the according ConfigOption.
      See Also:
    • configOption

      public static ConfigOption configOption(String aDescription)
      Instantiates a new config (file) Option.
      Parameters:
      aDescription - The description to use.
      Returns:
      the according ConfigOption.
      See Also:
    • daemonFlag

      public static DaemonFlag daemonFlag()
      Constructs the predefined daemon Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • daemonFlag

      public static DaemonFlag daemonFlag(boolean hasShortOption)
      Constructs the predefined daemon Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • daemonFlag

      public static DaemonFlag daemonFlag(String aDescription)
      Constructs the predefined daemon Flag.
      Parameters:
      aDescription - The description to be used (without any line breaks).
      Returns:
      The accordingly created Flag instance.
      See Also:
    • debugFlag

      public static DebugFlag debugFlag()
      Constructs the predefined debug Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • debugFlag

      public static DebugFlag debugFlag(boolean hasShortOption)
      Constructs the predefined debug Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • debugFlag

      public static DebugFlag debugFlag(String aDescription)
      Constructs the predefined debug Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • doubleDirective

      public static DoubleDirective doubleDirective(String aOperation, String aDescription)
      Instantiates a new DoubleDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this DoubleDirective.
      aDescription - The description of the DoubleDirective.
      Returns:
      The accordingly created DoubleDirective instance.
      See Also:
    • doubleDirective

      public static DoubleDirective doubleDirective(String aOperation, String aDescription, Consumer<DoubleDirective> aConsumer)
      Instantiates a new DoubleDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this DoubleDirective.
      aDescription - The description of the DoubleDirective.
      aConsumer - The Consumer being invoked in case this DoubleDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleDirective instance.
      See Also:
    • doubleDirective

      public static DoubleDirective doubleDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new DoubleDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this DoubleDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleDirective.
      Returns:
      The accordingly created DoubleDirective instance.
      See Also:
    • doubleDirective

      public static DoubleDirective doubleDirective(String aOperation, String aAlias, String aDescription, Consumer<DoubleDirective> aConsumer)
      Instantiates a new DoubleDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this DoubleDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleDirective.
      aConsumer - The Consumer being invoked in case this DoubleDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleDirective instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new DoubleOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the DoubleOption.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(Character aShortOption, String aLongOption, String aDescription, Consumer<DoubleOption> aConsumer)
      Instantiates a new DoubleOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the DoubleOption.
      aConsumer - The Consumer being invoked in case this DoubleOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new DoubleOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleOption.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<DoubleOption> aConsumer)
      Instantiates a new DoubleOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleOption.
      aConsumer - The Consumer being invoked in case this DoubleOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(String aLongOption, String aDescription)
      Instantiates a new DoubleOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the DoubleOption.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(String aLongOption, String aDescription, Consumer<DoubleOption> aConsumer)
      Instantiates a new DoubleOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the DoubleOption.
      aConsumer - The Consumer being invoked in case this DoubleOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new DoubleOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleOption.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleOption

      public static DoubleOption doubleOption(String aLongOption, String aAlias, String aDescription, Consumer<DoubleOption> aConsumer)
      Instantiates a new DoubleOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleOption.
      aConsumer - The Consumer being invoked in case this DoubleOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleOption instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new DoubleProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - the double property
      aDescription - The description of the DoubleProperty.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<DoubleProperty> aConsumer)
      Instantiates a new DoubleProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - the double property
      aDescription - The description of the DoubleProperty.
      aConsumer - The Consumer being invoked in case this DoubleProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new DoubleProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleProperty.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<DoubleProperty> aConsumer)
      Instantiates a new DoubleProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleProperty.
      aConsumer - The Consumer being invoked in case this DoubleProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(String aLongOption, String aDescription)
      Instantiates a new DoubleProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the DoubleProperty.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(String aLongOption, String aDescription, Consumer<DoubleProperty> aConsumer)
      Instantiates a new DoubleProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the DoubleProperty.
      aConsumer - The Consumer being invoked in case this DoubleProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new DoubleProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleProperty.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • doubleProperty

      public static DoubleProperty doubleProperty(String aLongOption, String aAlias, String aDescription, Consumer<DoubleProperty> aConsumer)
      Instantiates a new DoubleProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the DoubleProperty.
      aConsumer - The Consumer being invoked in case this DoubleProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created DoubleProperty instance.
      See Also:
    • enumDirective

      public static <T extends Enum<T>> EnumDirective<T> enumDirective(String aOperation, Class<T> aType, String aDescription)
      Instantiates a new EnumDirective with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aOperation - The operation identifying this EnumDirective.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumDirective.
      Returns:
      The accordingly created EnumDirective instance.
      See Also:
    • enumDirective

      public static <T extends Enum<T>> EnumDirective<T> enumDirective(String aOperation, Class<T> aType, String aDescription, Consumer<EnumDirective<T>> aConsumer)
      Instantiates a new EnumDirective with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aOperation - The operation identifying this EnumDirective.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumDirective.
      aConsumer - The Consumer being invoked in case this EnumDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumDirective instance.
      See Also:
    • enumDirective

      public static <T extends Enum<T>> EnumDirective<T> enumDirective(String aOperation, Class<T> aType, String aAlias, String aDescription)
      Instantiates a new EnumDirective with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aOperation - The operation identifying this EnumDirective.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumDirective.
      Returns:
      The accordingly created EnumDirective instance.
      See Also:
    • enumDirective

      public static <T extends Enum<T>> EnumDirective<T> enumDirective(String aOperation, Class<T> aType, String aAlias, String aDescription, Consumer<EnumDirective<T>> aConsumer)
      Instantiates a new EnumDirective with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aOperation - The operation identifying this EnumDirective.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumDirective.
      aConsumer - The Consumer being invoked in case this EnumDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumDirective instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aDescription)
      Instantiates a new EnumOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumOption.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer)
      Instantiates a new EnumOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumOption.
      aConsumer - The Consumer being invoked in case this EnumOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription)
      Instantiates a new EnumOption with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumOption.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer)
      Instantiates a new EnumOption with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumOption.
      aConsumer - The Consumer being invoked in case this EnumOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(String aLongOption, Class<T> aType, String aDescription)
      Instantiates a new EnumOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumOption.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(String aLongOption, Class<T> aType, String aDescription, Consumer<EnumOption<T>> aConsumer)
      Instantiates a new EnumOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumOption.
      aConsumer - The Consumer being invoked in case this EnumOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(String aLongOption, Class<T> aType, String aAlias, String aDescription)
      Instantiates a new EnumOption with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumOption.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumOption

      public static <T extends Enum<T>> EnumOption<T> enumOption(String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumOption<T>> aConsumer)
      Instantiates a new EnumOption with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumOption.
      aConsumer - The Consumer being invoked in case this EnumOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumOption instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(Character aShortOption, String aLongOption, Class<T> aType, String aDescription)
      Instantiates a new EnumProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumProperty.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(Character aShortOption, String aLongOption, Class<T> aType, String aDescription, Consumer<EnumProperty<T>> aConsumer)
      Instantiates a new EnumProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumProperty.
      aConsumer - The Consumer being invoked in case this EnumProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription)
      Instantiates a new EnumProperty with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumProperty.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(Character aShortOption, String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumProperty<T>> aConsumer)
      Instantiates a new EnumProperty with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumProperty.
      aConsumer - The Consumer being invoked in case this EnumProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(String aLongOption, Class<T> aType, String aDescription)
      Instantiates a new EnumProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumProperty.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(String aLongOption, Class<T> aType, String aDescription, Consumer<EnumProperty<T>> aConsumer)
      Instantiates a new EnumProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aDescription - The description of the EnumProperty.
      aConsumer - The Consumer being invoked in case this EnumProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(String aLongOption, Class<T> aType, String aAlias, String aDescription)
      Instantiates a new EnumProperty with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumProperty.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • enumProperty

      public static <T extends Enum<T>> EnumProperty<T> enumProperty(String aLongOption, Class<T> aType, String aAlias, String aDescription, Consumer<EnumProperty<T>> aConsumer)
      Instantiates a new EnumProperty with the given arguments.
      Type Parameters:
      T - The generic type of the enumeration.
      Parameters:
      aLongOption - The long option to use.
      aType - The type of the enumeration to be used.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the EnumProperty.
      aConsumer - The Consumer being invoked in case this EnumProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created EnumProperty instance.
      See Also:
    • example

      public static Example example(String aDescription, Operand<?>... aOperands)
      Sugar for creating an Example from a description and the according Operand elements.
      Parameters:
      aDescription - The explanatory text of the example.
      aOperands - The operands required for the Example.
      Returns:
      The according Example instance.
    • examples

      public static Example[] examples(Example... aExamples)
      Sugar for creating an Example array from a varargs argument.
      Parameters:
      aExamples - the Example varargs argument.
      Returns:
      The according array representation.
    • fileDirective

      public static FileDirective fileDirective(String aOperation, String aDescription)
      Instantiates a new FileDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FileDirective.
      aDescription - The description of the FileDirective.
      Returns:
      The according FileDirective.
      See Also:
    • fileDirective

      public static FileDirective fileDirective(String aOperation, String aDescription, Consumer<FileDirective> aConsumer)
      Instantiates a new FileDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FileDirective.
      aDescription - The description of the FileDirective.
      aConsumer - The Consumer being invoked in case this FileDirective participated in successfully parsing the command line arguments.
      Returns:
      The according FileDirective.
      See Also:
    • fileDirective

      public static FileDirective fileDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new FileDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FileDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileDirective.
      Returns:
      The according FileDirective.
      See Also:
    • fileDirective

      public static FileDirective fileDirective(String aOperation, String aAlias, String aDescription, Consumer<FileDirective> aConsumer)
      Instantiates a new FileDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FileDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileDirective.
      aConsumer - The Consumer being invoked in case this FileDirective participated in successfully parsing the command line arguments.
      Returns:
      The according FileDirective.
      See Also:
    • fileOption

      public static FileOption fileOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new FileOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the FileOption.
      Returns:
      The according FileOption.
      See Also:
    • fileOption

      public static FileOption fileOption(Character aShortOption, String aLongOption, String aDescription, Consumer<FileOption> aConsumer)
      Instantiates a new FileOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the FileOption.
      aConsumer - The Consumer being invoked in case this FileOption participated in successfully parsing the command line arguments.
      Returns:
      The according FileOption.
      See Also:
    • fileOption

      public static FileOption fileOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new FileOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileOption.
      Returns:
      The according FileOption.
      See Also:
    • fileOption

      public static FileOption fileOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<FileOption> aConsumer)
      Instantiates a new FileOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileOption.
      aConsumer - The Consumer being invoked in case this FileOption participated in successfully parsing the command line arguments.
      Returns:
      The according FileOption.
      See Also:
    • fileOption

      public static FileOption fileOption(String aLongOption, String aDescription)
      Instantiates a new FileOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - the description
      Returns:
      The according FileOption.
      See Also:
    • fileOption

      public static FileOption fileOption(String aLongOption, String aDescription, Consumer<FileOption> aConsumer)
      Instantiates a new FileOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - the description
      aConsumer - The Consumer being invoked in case this FileOption participated in successfully parsing the command line arguments.
      Returns:
      The according FileOption.
      See Also:
    • fileOption

      public static FileOption fileOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new FileOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileOption.
      Returns:
      The according FileOption.
      See Also:
    • fileOption

      public static FileOption fileOption(String aLongOption, String aAlias, String aDescription, Consumer<FileOption> aConsumer)
      Instantiates a new FileOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileOption.
      aConsumer - The Consumer being invoked in case this FileOption participated in successfully parsing the command line arguments.
      Returns:
      The according FileOption.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new FileProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the FileProperty.
      Returns:
      The according FileProperty.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<FileProperty> aConsumer)
      Instantiates a new FileProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the FileProperty.
      aConsumer - The Consumer being invoked in case this FileProperty participated in successfully parsing the command line arguments.
      Returns:
      The according FileProperty.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new FileProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileProperty.
      Returns:
      The according FileProperty.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<FileProperty> aConsumer)
      Instantiates a new FileProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileProperty.
      aConsumer - The Consumer being invoked in case this FileProperty participated in successfully parsing the command line arguments.
      Returns:
      The according FileProperty.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(String aLongOption, String aDescription)
      Instantiates a new FileProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - the description
      Returns:
      The according FileProperty.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(String aLongOption, String aDescription, Consumer<FileProperty> aConsumer)
      Instantiates a new FileProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - the description
      aConsumer - The Consumer being invoked in case this FileProperty participated in successfully parsing the command line arguments.
      Returns:
      The according FileProperty.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new FileProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileProperty.
      Returns:
      The according FileProperty.
      See Also:
    • fileProperty

      public static FileProperty fileProperty(String aLongOption, String aAlias, String aDescription, Consumer<FileProperty> aConsumer)
      Instantiates a new FileProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FileProperty.
      aConsumer - The Consumer being invoked in case this FileProperty participated in successfully parsing the command line arguments.
      Returns:
      The according FileProperty.
      See Also:
    • flag

      public static Flag flag(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new Flag with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • flag

      public static Flag flag(Character aShortOption, String aLongOption, String aDescription, Consumer<Flag> aConsumer)
      Instantiates a new Flag with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the Flag.
      aConsumer - The Consumer being invoked in case this Flag participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • flag

      public static Flag flag(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new Flag with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • flag

      public static Flag flag(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<Flag> aConsumer)
      Instantiates a new Flag with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the Flag.
      aConsumer - The Consumer being invoked in case this Flag participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • flag

      public static Flag flag(String aLongOption, String aDescription)
      Instantiates a new Flag with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • flag

      public static Flag flag(String aLongOption, String aDescription, Consumer<Flag> aConsumer)
      Instantiates a new Flag with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the Flag.
      aConsumer - The Consumer being invoked in case this Flag participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • flag

      public static Flag flag(String aLongOption, String aAlias, String aDescription)
      Instantiates a new Flag with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • flag

      public static Flag flag(String aLongOption, String aAlias, String aDescription, Consumer<Flag> aConsumer)
      Instantiates a new Flag with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the Flag.
      aConsumer - The Consumer being invoked in case this Flag participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • floatDirective

      public static FloatDirective floatDirective(String aOperation, String aDescription)
      Instantiates a new FloatDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FloatDirective.
      aDescription - The description of the FloatDirective.
      Returns:
      The accordingly created FloatDirective instance.
      See Also:
    • floatDirective

      public static FloatDirective floatDirective(String aOperation, String aDescription, Consumer<FloatDirective> aConsumer)
      Instantiates a new FloatDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FloatDirective.
      aDescription - The description of the FloatDirective.
      aConsumer - The Consumer being invoked in case this FloatDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatDirective instance.
      See Also:
    • floatDirective

      public static FloatDirective floatDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new FloatDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FloatDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatDirective.
      Returns:
      The accordingly created FloatDirective instance.
      See Also:
    • floatDirective

      public static FloatDirective floatDirective(String aOperation, String aAlias, String aDescription, Consumer<FloatDirective> aConsumer)
      Instantiates a new FloatDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this FloatDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatDirective.
      aConsumer - The Consumer being invoked in case this FloatDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatDirective instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new FloatOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the FloatOption.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(Character aShortOption, String aLongOption, String aDescription, Consumer<FloatOption> aConsumer)
      Instantiates a new FloatOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the FloatOption.
      aConsumer - The Consumer being invoked in case this FloatOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new FloatOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatOption.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<FloatOption> aConsumer)
      Instantiates a new FloatOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatOption.
      aConsumer - The Consumer being invoked in case this FloatOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(String aLongOption, String aDescription)
      Instantiates a new FloatOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the FloatOption.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(String aLongOption, String aDescription, Consumer<FloatOption> aConsumer)
      Instantiates a new FloatOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the FloatOption.
      aConsumer - The Consumer being invoked in case this FloatOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new FloatOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatOption.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatOption

      public static FloatOption floatOption(String aLongOption, String aAlias, String aDescription, Consumer<FloatOption> aConsumer)
      Instantiates a new FloatOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatOption.
      aConsumer - The Consumer being invoked in case this FloatOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatOption instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new FloatProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - the float property
      aDescription - The description of the FloatProperty.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<FloatProperty> aConsumer)
      Instantiates a new FloatProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - the float property
      aDescription - The description of the FloatProperty.
      aConsumer - The Consumer being invoked in case this FloatProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new FloatProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatProperty.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<FloatProperty> aConsumer)
      Instantiates a new FloatProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatProperty.
      aConsumer - The Consumer being invoked in case this FloatProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(String aLongOption, String aDescription)
      Instantiates a new FloatProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the FloatProperty.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(String aLongOption, String aDescription, Consumer<FloatProperty> aConsumer)
      Instantiates a new FloatProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the FloatProperty.
      aConsumer - The Consumer being invoked in case this FloatProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new FloatProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatProperty.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • floatProperty

      public static FloatProperty floatProperty(String aLongOption, String aAlias, String aDescription, Consumer<FloatProperty> aConsumer)
      Instantiates a new FloatProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the FloatProperty.
      aConsumer - The Consumer being invoked in case this FloatProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created FloatProperty instance.
      See Also:
    • forceFlag

      public static ForceFlag forceFlag()
      Constructs the predefined force Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • forceFlag

      public static ForceFlag forceFlag(boolean hasShortOption)
      Constructs the predefined force Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • forceFlag

      public static ForceFlag forceFlag(String aDescription)
      Constructs the predefined force Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • helpFlag

      public static HelpFlag helpFlag()
      Constructs the predefined help Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • helpFlag

      public static HelpFlag helpFlag(boolean hasShortOption)
      Constructs the predefined help Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • helpFlag

      public static HelpFlag helpFlag(String aDescription)
      Constructs the predefined help Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • initFlag

      public static InitFlag initFlag()
      Constructs the predefined init Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • initFlag

      public static InitFlag initFlag(boolean hasShortOption)
      Constructs the predefined init Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • initFlag

      public static InitFlag initFlag(String aDescription)
      Constructs the predefined init Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • intDirective

      public static IntDirective intDirective(String aOperation, String aDescription)
      Instantiates a new IntDirective with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aOperation - The operation identifying this IntDirective.
      aDescription - The description of the IntDirective.
      Returns:
      The accordingly created IntDirective instance.
      See Also:
    • intDirective

      public static IntDirective intDirective(String aOperation, String aDescription, Consumer<IntDirective> aConsumer)
      Instantiates a new IntDirective with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aOperation - The operation identifying this IntDirective.
      aDescription - The description of the IntDirective.
      aConsumer - The Consumer being invoked in case this IntDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntDirective instance.
      See Also:
    • intDirective

      public static IntDirective intDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new IntDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this IntDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntDirective.
      Returns:
      The accordingly created IntDirective instance.
      See Also:
    • intDirective

      public static IntDirective intDirective(String aOperation, String aAlias, String aDescription, Consumer<IntDirective> aConsumer)
      Instantiates a new IntDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this IntDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntDirective.
      aConsumer - The Consumer being invoked in case this IntDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntDirective instance.
      See Also:
    • intOption

      public static IntOption intOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new IntOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the IntOption.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intOption

      public static IntOption intOption(Character aShortOption, String aLongOption, String aDescription, Consumer<IntOption> aConsumer)
      Instantiates a new IntOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the IntOption.
      aConsumer - The Consumer being invoked in case this IntOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intOption

      public static IntOption intOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new IntOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntOption.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intOption

      public static IntOption intOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<IntOption> aConsumer)
      Instantiates a new IntOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntOption.
      aConsumer - The Consumer being invoked in case this IntOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intOption

      public static IntOption intOption(String aLongOption, String aDescription)
      Instantiates a new IntOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the IntOption.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intOption

      public static IntOption intOption(String aLongOption, String aDescription, Consumer<IntOption> aConsumer)
      Instantiates a new IntOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the IntOption.
      aConsumer - The Consumer being invoked in case this IntOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intOption

      public static IntOption intOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new IntOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntOption.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intOption

      public static IntOption intOption(String aLongOption, String aAlias, String aDescription, Consumer<IntOption> aConsumer)
      Instantiates a new IntOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntOption.
      aConsumer - The Consumer being invoked in case this IntOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntOption instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new IntProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the IntProperty.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<IntProperty> aConsumer)
      Instantiates a new IntProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the IntProperty.
      aConsumer - The Consumer being invoked in case this IntProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new IntProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntProperty.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<IntProperty> aConsumer)
      Instantiates a new IntProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntProperty.
      aConsumer - The Consumer being invoked in case this IntProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(String aLongOption, String aDescription)
      Instantiates a new IntProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the IntProperty.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(String aLongOption, String aDescription, Consumer<IntProperty> aConsumer)
      Instantiates a new IntProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the IntProperty.
      aConsumer - The Consumer being invoked in case this IntProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new IntProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntProperty.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • intProperty

      public static IntProperty intProperty(String aLongOption, String aAlias, String aDescription, Consumer<IntProperty> aConsumer)
      Instantiates a new IntProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the IntProperty.
      aConsumer - The Consumer being invoked in case this IntProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created IntProperty instance.
      See Also:
    • longDirective

      public static LongDirective longDirective(String aOperation, String aDescription)
      Instantiates a new LongDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this LongDirective.
      aDescription - The description of the LongDirective.
      Returns:
      The accordingly created LongDirective instance.
      See Also:
    • longDirective

      public static LongDirective longDirective(String aOperation, String aDescription, Consumer<LongDirective> aConsumer)
      Instantiates a new LongDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this LongDirective.
      aDescription - The description of the LongDirective.
      aConsumer - The Consumer being invoked in case this LongDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongDirective instance.
      See Also:
    • longDirective

      public static LongDirective longDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new LongDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this LongDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongDirective.
      Returns:
      The accordingly created LongDirective instance.
      See Also:
    • longDirective

      public static LongDirective longDirective(String aOperation, String aAlias, String aDescription, Consumer<LongDirective> aConsumer)
      Instantiates a new LongDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this LongDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongDirective.
      aConsumer - The Consumer being invoked in case this LongDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongDirective instance.
      See Also:
    • longOption

      public static LongOption longOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new LongOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the LongOption.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longOption

      public static LongOption longOption(Character aShortOption, String aLongOption, String aDescription, Consumer<LongOption> aConsumer)
      Instantiates a new LongOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the LongOption.
      aConsumer - The Consumer being invoked in case this LongOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longOption

      public static LongOption longOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new LongOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongOption.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longOption

      public static LongOption longOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<LongOption> aConsumer)
      Instantiates a new LongOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongOption.
      aConsumer - The Consumer being invoked in case this LongOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longOption

      public static LongOption longOption(String aLongOption, String aDescription)
      Instantiates a new LongOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the LongOption.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longOption

      public static LongOption longOption(String aLongOption, String aDescription, Consumer<LongOption> aConsumer)
      Instantiates a new LongOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the LongOption.
      aConsumer - The Consumer being invoked in case this LongOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longOption

      public static LongOption longOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new LongOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongOption.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longOption

      public static LongOption longOption(String aLongOption, String aAlias, String aDescription, Consumer<LongOption> aConsumer)
      Instantiates a new LongOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongOption.
      aConsumer - The Consumer being invoked in case this LongOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongOption instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new LongProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the LongProperty.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<LongProperty> aConsumer)
      Instantiates a new LongProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the LongProperty.
      aConsumer - The Consumer being invoked in case this LongProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new LongProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongProperty.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<LongProperty> aConsumer)
      Instantiates a new LongProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongProperty.
      aConsumer - The Consumer being invoked in case this LongProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(String aLongOption, String aDescription)
      Instantiates a new LongProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the LongProperty.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(String aLongOption, String aDescription, Consumer<LongProperty> aConsumer)
      Instantiates a new LongProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the LongProperty.
      aConsumer - The Consumer being invoked in case this LongProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new LongProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongProperty.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • longProperty

      public static LongProperty longProperty(String aLongOption, String aAlias, String aDescription, Consumer<LongProperty> aConsumer)
      Instantiates a new LongProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the LongProperty.
      aConsumer - The Consumer being invoked in case this LongProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created LongProperty instance.
      See Also:
    • none

      public static NoneOperand none(org.refcodes.struct.Relation<String,Boolean> aProperty)
      Instantiates a new NoneOperand.
      Parameters:
      aProperty - The key (= alias) and the value for the operand.
      Returns:
      The accordingly created NoneOperand.
      See Also:
    • none

      public static NoneOperand none(org.refcodes.struct.Relation<String,Boolean> aProperty, Consumer<NoneOperand> aConsumer)
      Instantiates a new NoneOperand.
      Parameters:
      aProperty - The key (= alias) and the value for the operand.
      aConsumer - The Consumer being invoked in case this NoneOperand participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created NoneOperand.
      See Also:
    • none

      public static NoneOperand none(String aDescription)
      Instantiates a new NoneOperand.
      Parameters:
      aDescription - The description to be used (without any line breaks).
      Returns:
      The accordingly created NoneOperand.
      See Also:
    • none

      public static NoneOperand none(String aDescription, Consumer<NoneOperand> aConsumer)
      Instantiates a new NoneOperand.
      Parameters:
      aDescription - The description to be used (without any line breaks).
      aConsumer - The Consumer being invoked in case this NoneOperand participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created NoneOperand.
      See Also:
    • none

      public static NoneOperand none(String aAlias, String aDescription)
      Instantiates a new NoneOperand.
      Parameters:
      aAlias - The identifier to be used when printing the syntax via the Term.toSyntax(CliContext) method.
      aDescription - The description to be used (without any line breaks).
      Returns:
      The accordingly created NoneOperand.
      See Also:
    • none

      public static NoneOperand none(String aAlias, String aDescription, Consumer<NoneOperand> aConsumer)
      Instantiates a new NoneOperand.
      Parameters:
      aAlias - The identifier to be used when printing the syntax via the Term.toSyntax(CliContext) method.
      aDescription - The description to be used (without any line breaks).
      aConsumer - The Consumer being invoked in case this NoneOperand participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created NoneOperand.
      See Also:
    • operation

      public static Operation operation(String aOperation, String aDescription)
      Constructs a Operation with the given arguments.
      Parameters:
      aOperation - The operation to declare.
      aDescription - The description to be used (without any line breaks).
      Returns:
      The accordingly created Operation.
    • operation

      public static Operation operation(String aOperation, String aDescription, Consumer<Operation> aConsumer)
      Constructs a Operation with the given arguments.
      Parameters:
      aOperation - The operation to declare.
      aDescription - The description to be used (without any line breaks).
      aConsumer - The Consumer being invoked in case this Operation participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created Operation.
    • operation

      public static Operation operation(String aOperation, String aAlias, String aDescription)
      Constructs a Operation with the given arguments.
      Parameters:
      aOperation - The operation to declare.
      aAlias - The operation's name to be used when constructing the syntax.
      aDescription - The description to be used (without any line breaks).
      Returns:
      The accordingly created Operation.
    • operation

      public static Operation operation(String aOperation, String aAlias, String aDescription, Consumer<Operation> aConsumer)
      Constructs a Operation with the given arguments.
      Parameters:
      aOperation - The operation to declare.
      aAlias - The operation's name to be used when constructing the syntax.
      aDescription - The description to be used (without any line breaks).
      aConsumer - The Consumer being invoked in case this Operation participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created Operation.
    • optional

      public static AnyCondition optional(Term... aArgs)
      Semantically identical synonym for the optional(Term...). declaration.
      Parameters:
      aArgs - The Term (Condition) instances to be nested
      Returns:
      The according AbstractCondition.
      See Also:
    • or

      public static OrCondition or(Term... aArgs)
      Instantiates a new OrCondition with the Term. (Condition) instances to be nested.
      Parameters:
      aArgs - The Term (Condition) instances to be nested.
      Returns:
      The according OR condition.
      See Also:
    • quietFlag

      public static QuietFlag quietFlag()
      Constructs the predefined quiet Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • quietFlag

      public static QuietFlag quietFlag(boolean hasShortOption)
      Constructs the predefined quiet Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • quietFlag

      public static QuietFlag quietFlag(String aDescription)
      Constructs the predefined quiet Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • stringDirective

      public static StringDirective stringDirective(String aOperation, String aDescription)
      Instantiates a new StringDirective with the given arguments.
      Parameters:
      aOperation - the string option
      aDescription - The description of the StringDirective.
      Returns:
      The accordingly created StringDirective instance.
      See Also:
    • stringDirective

      public static StringDirective stringDirective(String aOperation, String aDescription, Consumer<StringDirective> aConsumer)
      Instantiates a new StringDirective with the given arguments.
      Parameters:
      aOperation - the string option
      aDescription - The description of the StringDirective.
      aConsumer - The Consumer being invoked in case this StringDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringDirective instance.
      See Also:
    • stringDirective

      public static StringDirective stringDirective(String aOperation, String aAlias, String aDescription)
      Instantiates a new StringDirective with the given arguments.
      Parameters:
      aOperation - The operation identifying this StringDirective.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringDirective.
      Returns:
      The accordingly created StringDirective instance.
      See Also:
    • stringDirective

      public static StringDirective stringDirective(String aOperation, String aAlias, String aDescription, Consumer<StringDirective> aConsumer)
      Instantiates a new StringDirective with the given arguments.
      Parameters:
      aOperation - the string option
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringDirective.
      aConsumer - The Consumer being invoked in case this StringDirective participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringDirective instance.
      See Also:
    • stringOperand

      public static StringOperand stringOperand(String aAlias, String aDescription)
      Instantiates a new StringOperand.
      Parameters:
      aAlias - The alias to be used for naming purposes.
      aDescription - The description to be used (without any line breaks).
      Returns:
      The according StringOperand.
      See Also:
    • stringOperand

      public static StringOperand stringOperand(String aAlias, String aDescription, Consumer<StringOperand> aConsumer)
      Instantiates a new StringOperand.
      Parameters:
      aAlias - The alias to be used for naming purposes.
      aDescription - The description to be used (without any line breaks).
      aConsumer - The Consumer being invoked in case this StringOperand participated in successfully parsing the command line arguments.
      Returns:
      The according StringOperand.
      See Also:
    • stringOption

      public static StringOption stringOption(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new StringOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - the string option
      aDescription - The description of the StringOption.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringOption

      public static StringOption stringOption(Character aShortOption, String aLongOption, String aDescription, Consumer<StringOption> aConsumer)
      Instantiates a new StringOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - the string option
      aDescription - The description of the StringOption.
      aConsumer - The Consumer being invoked in case this StringOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringOption

      public static StringOption stringOption(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new StringOption with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringOption.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringOption

      public static StringOption stringOption(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<StringOption> aConsumer)
      Instantiates a new StringOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - the string option
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringOption.
      aConsumer - The Consumer being invoked in case this StringOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringOption

      public static StringOption stringOption(String aLongOption, String aDescription)
      Instantiates a new StringOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the StringOption.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringOption

      public static StringOption stringOption(String aLongOption, String aDescription, Consumer<StringOption> aConsumer)
      Instantiates a new StringOption with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the StringOption.
      aConsumer - The Consumer being invoked in case this StringOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringOption

      public static StringOption stringOption(String aLongOption, String aAlias, String aDescription)
      Instantiates a new StringOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringOption.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringOption

      public static StringOption stringOption(String aLongOption, String aAlias, String aDescription, Consumer<StringOption> aConsumer)
      Instantiates a new StringOption with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringOption.
      aConsumer - The Consumer being invoked in case this StringOption participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringOption instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(Character aShortOption, String aLongOption, String aDescription)
      Instantiates a new StringProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the StringProperty.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(Character aShortOption, String aLongOption, String aDescription, Consumer<StringProperty> aConsumer)
      Instantiates a new StringProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option, else the short option is used as alias.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aDescription - The description of the StringProperty.
      aConsumer - The Consumer being invoked in case this StringProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription)
      Instantiates a new StringProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringProperty.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(Character aShortOption, String aLongOption, String aAlias, String aDescription, Consumer<StringProperty> aConsumer)
      Instantiates a new StringProperty with the given arguments.
      Parameters:
      aShortOption - The short option to use.
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringProperty.
      aConsumer - The Consumer being invoked in case this StringProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(String aLongOption, String aDescription)
      Instantiates a new StringProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the StringProperty.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(String aLongOption, String aDescription, Consumer<StringProperty> aConsumer)
      Instantiates a new StringProperty with the given arguments. In case a long option is provided, the intance's alias will automatically be set with the long option.
      Parameters:
      aLongOption - The long option to use.
      aDescription - The description of the StringProperty.
      aConsumer - The Consumer being invoked in case this StringProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(String aLongOption, String aAlias, String aDescription)
      Instantiates a new StringProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringProperty.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • stringProperty

      public static StringProperty stringProperty(String aLongOption, String aAlias, String aDescription, Consumer<StringProperty> aConsumer)
      Instantiates a new StringProperty with the given arguments.
      Parameters:
      aLongOption - The long option to use.
      aAlias - The alias to be used for naming purposes.
      aDescription - The description of the StringProperty.
      aConsumer - The Consumer being invoked in case this StringProperty participated in successfully parsing the command line arguments.
      Returns:
      The accordingly created StringProperty instance.
      See Also:
    • sysInfoFlag

      public static SysInfoFlag sysInfoFlag()
      Constructs the predefined system info Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • sysInfoFlag

      public static SysInfoFlag sysInfoFlag(boolean hasShortOption)
      Constructs the predefined system info Flag.
      Parameters:
      hasShortOption - True in case to also enable the short option, else only the long option takes effect.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • sysInfoFlag

      public static SysInfoFlag sysInfoFlag(String aDescription)
      Constructs the predefined system info Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • verboseFlag

      public static VerboseFlag verboseFlag()
      Constructs the predefined verbose Flag.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • verboseFlag

      public static VerboseFlag 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.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • verboseFlag

      public static VerboseFlag verboseFlag(String aDescription)
      Constructs the predefined verbose Flag.
      Parameters:
      aDescription - The description to use when printing out the help text.
      Returns:
      The accordingly created Flag instance.
      See Also:
    • xor

      public static XorCondition xor(Term... aArgs)
      Instantiates a new XorCondition with the Term. (Condition) instances to be nested.
      Parameters:
      aArgs - The Term (Condition) instances to be nested.
      Returns:
      The according XOR condition.
      See Also: