public enum AgentInterval extends Enum<AgentInterval> implements INumberEnum<Short>
Enum Constant and Description |
---|
DAYS |
EVENT |
MINUTES |
MONTH |
NONE
Unknown
|
WEEK |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Short |
getValue() |
static AgentInterval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentInterval NONE
public static final AgentInterval MINUTES
public static final AgentInterval DAYS
public static final AgentInterval WEEK
public static final AgentInterval MONTH
public static final AgentInterval EVENT
public static AgentInterval[] values()
for (AgentInterval c : AgentInterval.values()) System.out.println(c);
public static AgentInterval 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 Short getValue()
getValue
in interface INumberEnum<Short>
public long getLongValue()
getLongValue
in interface INumberEnum<Short>
long
Copyright © 2019–2021 HCL. All rights reserved.