|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Jiffle.RuntimeModel>
jaitools.jiffle.Jiffle.RuntimeModel
public static enum Jiffle.RuntimeModel
Constants for runtime model. Jiffle supports two runtime models:
evaluate method directly
sets values in the destination image(s)
evaluate method returns the destination value, leaving
it up to the caller to set the value in the image.
object
| Enum Constant Summary | |
|---|---|
DIRECT
The runtime class implements JiffleDirectRuntime |
|
INDIRECT
The runtime class implements JiffleIndirectRuntime |
|
| Method Summary | |
|---|---|
static Jiffle.RuntimeModel |
get(Class<? extends JiffleRuntime> clazz)
Gets the matching constant for the given runtime class. |
Class<? extends JiffleRuntime> |
getRuntimeClass()
Gets the runtime interface. |
static Jiffle.RuntimeModel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Jiffle.RuntimeModel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Jiffle.RuntimeModel DIRECT
JiffleDirectRuntime
public static final Jiffle.RuntimeModel INDIRECT
JiffleIndirectRuntime
| Method Detail |
|---|
public static Jiffle.RuntimeModel[] values()
for (Jiffle.RuntimeModel c : Jiffle.RuntimeModel.values()) System.out.println(c);
public static Jiffle.RuntimeModel valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic Class<? extends JiffleRuntime> getRuntimeClass()
public static Jiffle.RuntimeModel get(Class<? extends JiffleRuntime> clazz)
clazz - a runtime class
null if the class does not derive
from a supported base class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||