public enum ScriptType extends Enum<ScriptType>
Enum Constant and Description |
---|
GROOVY
groovy
|
JAVA_SCRIPT
java script
|
LUA
lua
|
PYTHON
python
需要设置 python.import.site 为 false
|
Modifier and Type | Method and Description |
---|---|
String |
getType() |
static ScriptType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptType JAVA_SCRIPT
public static final ScriptType LUA
public static final ScriptType GROOVY
public static final ScriptType PYTHON
public static ScriptType[] values()
for (ScriptType c : ScriptType.values()) System.out.println(c);
public static ScriptType 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 getType()
Copyright © 2024. All rights reserved.