NodejsScriptExecutor
ba.sake.nodejs.script.executor.NodejsScriptExecutor
object NodejsScriptExecutor
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NodejsScriptExecutor.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
def execute(env: Environment, jsScript: String, dependencies: Set[NpmDependency], scriptName: String): String
Value parameters
- dependencies
-
npm dependencies to install
- env
-
execution environment, a nodejs project folder/"sandbox"...
- jsScript
-
code to execute
- scriptName
-
name of the script file to create
Attributes
- Returns
-
stdout of the script
In this article