public static enum MaintenanceAssociation.CcmInterval extends java.lang.Enum<MaintenanceAssociation.CcmInterval>
Enum Constant and Description |
---|
INTERVAL_100MS |
INTERVAL_10MIN |
INTERVAL_10MS |
INTERVAL_10S |
INTERVAL_1MIN |
INTERVAL_1S |
INTERVAL_3MS |
INVALID |
Modifier and Type | Method and Description |
---|---|
java.time.Duration |
duration() |
int |
millis() |
static MaintenanceAssociation.CcmInterval |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MaintenanceAssociation.CcmInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaintenanceAssociation.CcmInterval INVALID
public static final MaintenanceAssociation.CcmInterval INTERVAL_3MS
public static final MaintenanceAssociation.CcmInterval INTERVAL_10MS
public static final MaintenanceAssociation.CcmInterval INTERVAL_100MS
public static final MaintenanceAssociation.CcmInterval INTERVAL_1S
public static final MaintenanceAssociation.CcmInterval INTERVAL_10S
public static final MaintenanceAssociation.CcmInterval INTERVAL_1MIN
public static final MaintenanceAssociation.CcmInterval INTERVAL_10MIN
public static MaintenanceAssociation.CcmInterval[] values()
for (MaintenanceAssociation.CcmInterval c : MaintenanceAssociation.CcmInterval.values()) System.out.println(c);
public static MaintenanceAssociation.CcmInterval valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int millis()
public java.time.Duration duration()