- java.lang.Object
-
- com.pervasive.datarush.script.ScriptOptions
-
- All Implemented Interfaces:
Serializable
public final class ScriptOptions extends Object implements Serializable
Container for options to the script environment that are exposed to operators that are scripting aware.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScriptOptions(List<String> includeDirs, StrictMode strictMode, boolean extensionsEnabled)
Construct a script options instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getExtensionsEnabled()
Get the indicator of whether extensions are enabled or not.List<String>
getIncludeDirs()
Get the list of include directoriesStrictMode
getStrictMode()
Get the strictness mode.
-
-
-
Constructor Detail
-
ScriptOptions
public ScriptOptions(List<String> includeDirs, StrictMode strictMode, boolean extensionsEnabled)
Construct a script options instance.- Parameters:
includeDirs
- list of include directoriesstrictMode
- strictness modeextensionsEnabled
- whether extensions are enabled or not
-
-
Method Detail
-
getIncludeDirs
public List<String> getIncludeDirs()
Get the list of include directories- Returns:
- list of include directories
-
getStrictMode
public StrictMode getStrictMode()
Get the strictness mode.- Returns:
- strictness mode
-
getExtensionsEnabled
public boolean getExtensionsEnabled()
Get the indicator of whether extensions are enabled or not.- Returns:
- extensions enabled or disabled
-
-