public class ScriptRunnerFactory extends Object
ScriptRunner instances| Modifier and Type | Class and Description |
|---|---|
static class |
ScriptRunnerFactory.RunnerType
The different types of runners this factory can create
|
| Constructor and Description |
|---|
ScriptRunnerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ScriptRunner |
createRunner()
Creates a new
ScriptRunner instance according to the
type set with setRunnerType(RunnerType) |
static ScriptRunnerFactory.RunnerType |
setRunnerType(ScriptRunnerFactory.RunnerType type)
Sets the type of runners this factory creates.
|
public static ScriptRunnerFactory.RunnerType setRunnerType(ScriptRunnerFactory.RunnerType type)
ScriptRunnerFactory.RunnerType.AUTO. Normally, you shouldn't have to change this.
Only use this method if you're know what you're doing (for testing
purpose for example)type - the typepublic static ScriptRunner createRunner()
ScriptRunner instance according to the
type set with setRunnerType(RunnerType)