public enum ValidLoggingPeriod extends Enum<ValidLoggingPeriod> implements HasName
| Enum Constant and Description |
|---|
ACTIVE
May be logged within the active state of the device.
|
NONE
No period in which it is valid to interpolate.
|
POWER
May be logged within the power state of the device.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidLoggingPeriod |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static ValidLoggingPeriod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidLoggingPeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidLoggingPeriod NONE
public static final ValidLoggingPeriod ACTIVE
public static final ValidLoggingPeriod POWER
public static ValidLoggingPeriod[] values()
for (ValidLoggingPeriod c : ValidLoggingPeriod.values()) System.out.println(c);
public static ValidLoggingPeriod 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 int getCode()
public static ValidLoggingPeriod findOrDefault(String name)
Copyright © 2023. All rights reserved.