package
systemexec
Type Members
-
-
case class
Command(command: String) extends Product with Serializable
-
-
-
case class
ExecutionResult(returnCode: Int, output: Option[String], errorOutput: Option[String]) extends Product with Serializable
-
-
case class
OSCommands(os: OS, parts: Command*) extends Product with Serializable
-
-
-
-
case class
SystemExecTask(command: Vector[OSCommands], workDirectory: Option[String], errorOnReturnValue: Boolean, returnValue: Option[Val[Int]], stdOut: Option[Val[String]], stdErr: Option[Val[String]], environmentVariables: Vector[(String, FromContext[String])], _config: InputOutputConfig, external: External) extends Task with ValidateTask with Product with Serializable
-
-
Value Members
-
object
Command extends Serializable
-
-
object
OSCommands extends Serializable
-
-
def
commandLine(cmd: FromContext[String], workDir: String): FromContext[Array[String]]
-
def
commandLine(cmd: String): Array[String]
-
lazy val
commands: AnyRef { def +=[T](os: org.openmole.core.tools.service.OS,cmd: org.openmole.plugin.task.systemexec.Command*)(implicit evidence$5: org.openmole.plugin.task.systemexec.SystemExecTaskBuilder[T]): T => T }
-
lazy val
customWorkDirectory: AnyRef { def :=[T](s: org.openmole.core.workflow.dsl.OptionalArgument[String])(implicit evidence$10: org.openmole.plugin.task.systemexec.WorkDirectory[T]): T => T }
-
lazy val
environmentVariables: AnyRef { ... /* 3 definitions in type refinement */ }
-
def
error(commandLine: Vector[String], executionResult: ExecutionResult): Nothing
-
lazy val
errorOnReturnValue: AnyRef { def :=[T](b: Boolean)(implicit evidence$1: org.openmole.plugin.task.systemexec.ErrorOnReturnValue[T]): T => T }
-
def
execute(command: Array[String], workDir: File, environmentVariables: Vector[(String, String)], returnOutput: Boolean, returnError: Boolean, errorOnReturnValue: Boolean = true): ExecutionResult
-
def
executeAll(workDirectory: File, environmentVariables: Vector[(String, String)], errorOnReturnValue: Boolean, returnValue: Option[Val[Int]], stdOut: Option[Val[String]], stdErr: Option[Val[String]], cmds: List[FromContext[String]], acc: ExecutionResult = ExecutionResult.empty)(p: Parameters): ExecutionResult
-
lazy val
hostFiles: AnyRef { ... /* 2 definitions in type refinement */ }
-
lazy val
inputFileArrays: AnyRef { ... /* 3 definitions in type refinement */ }
-
lazy val
inputFiles: AnyRef { ... /* 3 definitions in type refinement */ }
-
lazy val
outputFiles: AnyRef { def +=[T](name: org.openmole.core.expansion.FromContext[String],p: org.openmole.core.context.Val[java.io.File])(implicit evidence$5: org.openmole.plugin.task.external.ExternalBuilder[T],implicit evidence$6: org.openmole.core.workflow.builder.InputOutputBuilder[T]): T => T }
-
lazy val
resources: AnyRef { ... /* 4 definitions in type refinement */ }
-
lazy val
returnValue: AnyRef { def :=[T](v: org.openmole.core.workflow.dsl.OptionalArgument[org.openmole.core.context.Val[Int]])(implicit evidence$2: org.openmole.plugin.task.systemexec.ReturnValue[T]): T => T }
-
lazy val
stdErr: AnyRef { def :=[T](v: org.openmole.core.workflow.dsl.OptionalArgument[org.openmole.core.context.Val[String]])(implicit evidence$4: org.openmole.plugin.task.systemexec.StdOutErr[T]): T => T }
-
lazy val
stdOut: AnyRef { def :=[T](v: org.openmole.core.workflow.dsl.OptionalArgument[org.openmole.core.context.Val[String]])(implicit evidence$3: org.openmole.plugin.task.systemexec.StdOutErr[T]): T => T }
Deprecated Value Members
-
lazy val
environmentVariable: AnyRef { ... /* 3 definitions in type refinement */ }