Class/Object

agora.exec.model

RunProcess

Related Docs: object RunProcess | package model

Permalink

case class RunProcess(command: List[String], env: Map[String, String] = Map.empty, dependencies: UploadDependencies = ..., output: OutputSettings = OutputSettings()) extends Product with Serializable

A job intended to produce a lot of output, and such streams the output when run.

command

the command string to execute

env

the system environment

dependencies

if specified, the any file dependencies this request has

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RunProcess
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RunProcess(command: List[String], env: Map[String, String] = Map.empty, dependencies: UploadDependencies = ..., output: OutputSettings = OutputSettings())

    Permalink

    command

    the command string to execute

    env

    the system environment

    dependencies

    if specified, the any file dependencies this request has

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val command: List[String]

    Permalink

    the command string to execute

  7. def commandHash: String

    Permalink

    returns

    the MD5 hash of the command string as a Hex string

  8. def commandString: String

    Permalink
  9. val dependencies: UploadDependencies

    Permalink

    if specified, the any file dependencies this request has

  10. def ensuringCacheOutputs: RunProcess

    Permalink

    If OutputSettings.canCache is set, then we ensure that stdout and stderr are set to unique values if left unset

    If OutputSettings.canCache is set, then we ensure that stdout and stderr are set to unique values if left unset

    returns

    a RunProcess which ensures the stdout and stderr filenames are set

  11. val env: Map[String, String]

    Permalink

    the system environment

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def fileOutputs: List[String]

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hasDependencies: Boolean

    Permalink
  17. def hasFileOutputs: Boolean

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val output: OutputSettings

    Permalink
  23. def resolveEnv: RunProcess

    Permalink

    returns

    a new 'RunProcess' with the command line having replaced '$<key>' with '<value>' from the envi

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def useCachedValueWhenAvailable(cache: Boolean): RunProcess

    Permalink
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def withCaching(cache: Boolean): RunProcess

    Permalink
  30. def withCommand(newCommand: List[String]): RunProcess

    Permalink
  31. def withDependencies(newWorkspace: WorkspaceId, dependsOnFiles: Set[String], timeout: FiniteDuration): RunProcess

    Permalink
  32. def withDependencies(dependsOnFiles: Set[String], timeout: FiniteDuration = dependencies.timeout): RunProcess

    Permalink
  33. def withDependencies(dep: UploadDependencies): RunProcess

    Permalink
  34. def withEnv(key: String, value: String): RunProcess

    Permalink
  35. def withEnv(newEnv: Map[String, String]): RunProcess

    Permalink
  36. def withOutput(newOutput: OutputSettings): RunProcess

    Permalink
  37. def withStdOutTo(fileName: String): RunProcess

    Permalink
  38. def withStreamingSettings(settings: StreamingSettings): RunProcess

    Permalink
  39. def withWorkspace(newWorkspace: WorkspaceId): RunProcess

    Permalink
  40. def withoutStreaming(): RunProcess

    Permalink
  41. def workspace: WorkspaceId

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped