public static enum JsonV1SampleSerializer.Severity extends Enum<JsonV1SampleSerializer.Severity>
Enum Constant and Description |
---|
INVALID
Invalid alarm.
|
MAJOR
Major alarm.
|
MINOR
Minor alarm.
|
OK
OK.
|
Modifier and Type | Method and Description |
---|---|
static JsonV1SampleSerializer.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonV1SampleSerializer.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonV1SampleSerializer.Severity OK
public static final JsonV1SampleSerializer.Severity MINOR
public static final JsonV1SampleSerializer.Severity MAJOR
public static final JsonV1SampleSerializer.Severity INVALID
public static JsonV1SampleSerializer.Severity[] values()
for (JsonV1SampleSerializer.Severity c : JsonV1SampleSerializer.Severity.values()) System.out.println(c);
public static JsonV1SampleSerializer.Severity 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 nullCopyright © 2011–2017 aquenos GmbH. All rights reserved.