public enum ClockType extends Enum<ClockType>
Enum Constant and Description |
---|
PSEUDO_CLOCK
A Pseudo clock is a clock that is completely controlled by the
client application.
|
REALTIME_CLOCK |
Modifier and Type | Method and Description |
---|---|
abstract org.kie.api.time.SessionClock |
createInstance() |
String |
getId() |
static ClockType |
resolveClockType(String id) |
String |
toExternalForm() |
String |
toString() |
static ClockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClockType REALTIME_CLOCK
public static final ClockType PSEUDO_CLOCK
public static ClockType[] values()
for (ClockType c : ClockType.values()) System.out.println(c);
public static ClockType 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 abstract org.kie.api.time.SessionClock createInstance()
public String toExternalForm()
public String getId()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.