Package dev.gradleplugins.runnerkit
Enum GradleExecutionContext.ConsoleType
- java.lang.Object
-
- java.lang.Enum<GradleExecutionContext.ConsoleType>
-
- dev.gradleplugins.runnerkit.GradleExecutionContext.ConsoleType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GradleExecutionContext.ConsoleType>
- Enclosing interface:
- GradleExecutionContext
public static enum GradleExecutionContext.ConsoleType extends java.lang.Enum<GradleExecutionContext.ConsoleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RICHEnable color and rich output, regardless of whether the current process is attached to a console or not.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GradleExecutionContext.ConsoleTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GradleExecutionContext.ConsoleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RICH
public static final GradleExecutionContext.ConsoleType RICH
Enable color and rich output, regardless of whether the current process is attached to a console or not. When not attached to a console, the color and rich output is encoded using ANSI control characters.
-
-
Method Detail
-
values
public static GradleExecutionContext.ConsoleType[] 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 (GradleExecutionContext.ConsoleType c : GradleExecutionContext.ConsoleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GradleExecutionContext.ConsoleType 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
-
-