public static enum CheckStatus.State extends Enum<CheckStatus.State>
Modifier and Type | Method and Description |
---|---|
static CheckStatus.State |
fromBoolean(boolean ready) |
static CheckStatus.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static CheckStatus.State |
worstOf(Stream<CheckStatus.State> states) |
public static final CheckStatus.State RED
public static final CheckStatus.State YELLOW
public static final CheckStatus.State GREEN
public static CheckStatus.State[] values()
for (CheckStatus.State c : CheckStatus.State.values()) System.out.println(c);
public static CheckStatus.State 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 nullpublic static CheckStatus.State fromBoolean(boolean ready)
public static CheckStatus.State worstOf(Stream<CheckStatus.State> states)
Copyright © 2010 - 2020 Adobe. All Rights Reserved