Enum Class ParserConfig.Feature

java.lang.Object
java.lang.Enum<ParserConfig.Feature>
org.springframework.shell.command.parser.ParserConfig.Feature
All Implemented Interfaces:
Serializable, Comparable<ParserConfig.Feature>, Constable
Enclosing class:
ParserConfig

public static enum ParserConfig.Feature extends Enum<ParserConfig.Feature>
  • Enum Constant Details

    • ALLOW_DIRECTIVES

      public static final ParserConfig.Feature ALLOW_DIRECTIVES
      Defines if directives support is enabled, disabled on default.
    • IGNORE_DIRECTIVES

      public static final ParserConfig.Feature IGNORE_DIRECTIVES
      Used in a case where directive support is disabled and parser should ignore ones found instead of reporting error, disabled on default.
    • CASE_SENSITIVE_COMMANDS

      public static final ParserConfig.Feature CASE_SENSITIVE_COMMANDS
      Defines if commands are parsed using case-sensitivity, enabled on default.
    • CASE_SENSITIVE_OPTIONS

      public static final ParserConfig.Feature CASE_SENSITIVE_OPTIONS
      Defines if options are parsed using case-sensitivity, enabled on default.
  • Method Details

    • values

      public static ParserConfig.Feature[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ParserConfig.Feature valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • collectDefaults

      public static long collectDefaults()
    • enabledByDefault

      public boolean enabledByDefault()
    • enabledIn

      public boolean enabledIn(int flags)
    • getMask

      public long getMask()