Serializable
, Comparable<IOColors.OutputType>
public static enum IOColors.OutputType extends Enum<IOColors.OutputType>
Enum Constant | Description |
---|---|
ERROR |
error output
|
HYPERLINK |
hyperlink
|
HYPERLINK_IMPORTANT |
important hyperlink
|
INPUT |
input text
|
LOG_DEBUG |
Debugging info.
|
LOG_FAILURE |
Info about failure.
|
LOG_SUCCESS |
Info about success.
|
LOG_WARNING |
Info about warning.
|
OUTPUT |
default output
|
Modifier and Type | Method | Description |
---|---|---|
static IOColors.OutputType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static IOColors.OutputType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOColors.OutputType OUTPUT
public static final IOColors.OutputType ERROR
public static final IOColors.OutputType HYPERLINK
public static final IOColors.OutputType HYPERLINK_IMPORTANT
public static final IOColors.OutputType INPUT
public static final IOColors.OutputType LOG_SUCCESS
public static final IOColors.OutputType LOG_FAILURE
public static final IOColors.OutputType LOG_WARNING
public static final IOColors.OutputType LOG_DEBUG
public static IOColors.OutputType[] values()
for (IOColors.OutputType c : IOColors.OutputType.values()) System.out.println(c);
public static IOColors.OutputType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.