public static enum GroovyEngineScript.RunMethod extends Enum<GroovyEngineScript.RunMethod>
| Enum Constant and Description |
|---|
evaluate
метод GroovyShell.evaluate( scriptText )
|
run
метод GroovyShell.run( scriptText, scriptFile, args )
|
| Modifier and Type | Method and Description |
|---|---|
static GroovyEngineScript.RunMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroovyEngineScript.RunMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroovyEngineScript.RunMethod run
public static final GroovyEngineScript.RunMethod evaluate
public static GroovyEngineScript.RunMethod[] values()
for (GroovyEngineScript.RunMethod c : GroovyEngineScript.RunMethod.values()) System.out.println(c);
public static GroovyEngineScript.RunMethod 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 nullCopyright © 2019. All rights reserved.