public enum OutputLimitUnit extends Enum<OutputLimitUnit>
Enum Constant and Description |
---|
AFTER
The unit representing just after a time period or after a number of events.
|
CONTEXT_PARTITION_TERM
The unit representing that output occurs when the context partition terminates.
|
CRONTAB_EXPRESSION
The unit representing a crontab-at-expression.
|
EVENTS
The number of events unit.
|
TIME_PERIOD
The time period unit.
|
WHEN_EXPRESSION
The unit representing a when-expression.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Returns the text for the unit.
|
static OutputLimitUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutputLimitUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputLimitUnit TIME_PERIOD
public static final OutputLimitUnit EVENTS
public static final OutputLimitUnit WHEN_EXPRESSION
public static final OutputLimitUnit CRONTAB_EXPRESSION
public static final OutputLimitUnit AFTER
public static final OutputLimitUnit CONTEXT_PARTITION_TERM
public static OutputLimitUnit[] values()
for (OutputLimitUnit c : OutputLimitUnit.values()) System.out.println(c);
public static OutputLimitUnit 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 String getText()