package scripting
- Alphabetic
- Public
- All
Type Members
- trait AmmoniteExecutor extends AnyRef
Provides an interface for the execution of scripts using the Ammonite interpreter.
Provides an interface for the execution of scripts using the Ammonite interpreter.
All scripts are compiled in-memory and no caching is performed.
- abstract class ScriptManager extends AnyRef
This class manages a hierarchy of scripts, and provides an interface that allows users to easily discover and run scripts on their CPGs.
This class manages a hierarchy of scripts, and provides an interface that allows users to easily discover and run scripts on their CPGs.
Scripts should be grouped inside folders placed within the application's
resources/scripts
directory, for example:resources |-- scripts |-- java |-- my-java-script.sc |-- go |-- csharp
To run
my-java-script.sc
you would run:runScript("java/my-java-script.sc", cpg)
Value Members
- object ScriptManager