public enum CheckStatus extends Enum<CheckStatus>
Modifier and Type | Method and Description |
---|---|
static CheckStatus |
of(String key) |
static CheckStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckStatus PASSING
public static final CheckStatus WARNING
public static final CheckStatus CRITICAL
public final String key
public static CheckStatus[] values()
for (CheckStatus c : CheckStatus.values()) System.out.println(c);
public static CheckStatus 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 of(String key)
Copyright © 2021 Eclipse. All rights reserved.