Package org.apache.maven.surefire.cli
Enum CommandLineOption
- java.lang.Object
-
- java.lang.Enum<CommandLineOption>
-
- org.apache.maven.surefire.cli.CommandLineOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CommandLineOption>
public enum CommandLineOption extends java.lang.Enum<CommandLineOption>
CLI options.- Since:
- 2.19
- See Also:
- command line options
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOGGING_LEVEL_DEBUG
LOGGING_LEVEL_ERROR
LOGGING_LEVEL_INFO
LOGGING_LEVEL_WARN
REACTOR_FAIL_AT_END
REACTOR_FAIL_FAST
REACTOR_FAIL_NEVER
SHOW_ERRORS
-
Constructor Summary
Constructors Modifier Constructor Description private
CommandLineOption()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<CommandLineOption>
fromStrings(java.util.Collection<java.lang.String> elements)
static java.util.List<java.lang.String>
toStrings(java.util.Collection<CommandLineOption> options)
static CommandLineOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CommandLineOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REACTOR_FAIL_FAST
public static final CommandLineOption REACTOR_FAIL_FAST
-
REACTOR_FAIL_AT_END
public static final CommandLineOption REACTOR_FAIL_AT_END
-
REACTOR_FAIL_NEVER
public static final CommandLineOption REACTOR_FAIL_NEVER
-
SHOW_ERRORS
public static final CommandLineOption SHOW_ERRORS
-
LOGGING_LEVEL_WARN
public static final CommandLineOption LOGGING_LEVEL_WARN
-
LOGGING_LEVEL_INFO
public static final CommandLineOption LOGGING_LEVEL_INFO
-
LOGGING_LEVEL_ERROR
public static final CommandLineOption LOGGING_LEVEL_ERROR
-
LOGGING_LEVEL_DEBUG
public static final CommandLineOption LOGGING_LEVEL_DEBUG
-
-
Method Detail
-
values
public static CommandLineOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommandLineOption c : CommandLineOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandLineOption valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromStrings
public static java.util.List<CommandLineOption> fromStrings(java.util.Collection<java.lang.String> elements)
-
toStrings
public static java.util.List<java.lang.String> toStrings(java.util.Collection<CommandLineOption> options)
-
-