Class

agora.exec.model

StreamingProcess

Related Doc: package model

Permalink

case class StreamingProcess(command: List[String], env: Map[String, String] = Map.empty, streamingSettings: StreamingSettings = StreamingSettings()) extends RunProcess with Product with Serializable

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

command

the command string to execute

env

the system environment

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

Instance Constructors

  1. new StreamingProcess(command: List[String], env: Map[String, String] = Map.empty, streamingSettings: StreamingSettings = StreamingSettings())

    Permalink

    command

    the command string to execute

    env

    the system environment

Type Members

  1. type Result = Future[Iterator[String]]

    Permalink
    Definition Classes
    StreamingProcessRunProcess
  2. type Self = StreamingProcess

    Permalink
    Definition Classes
    StreamingProcessRunProcess

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

    the command string to execute

    Definition Classes
    StreamingProcessRunProcess
  7. def commandString: String

    Permalink
  8. def dependencies: Option[UploadDependencies]

    Permalink
  9. val env: Map[String, String]

    Permalink

    the system environment

    the system environment

    Definition Classes
    StreamingProcessRunProcess
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def errorMarker: String

    Permalink
  12. def filterForErrors(lineIter: Iterator[String]): Iterator[String]

    Permalink

    Filters the iterator produced using this RunProcess for errors

  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def frameLength: Option[Int]

    Permalink
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isSuccessfulExitCode(code: Int): Boolean

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def resolveEnv: Self

    Permalink

    returns

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

    Definition Classes
    RunProcess
  22. val streamingSettings: StreamingSettings

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

    Permalink
    Definition Classes
    AnyRef
  24. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def withCommand(newCommand: List[String]): StreamingProcess

    Permalink
    Definition Classes
    StreamingProcessRunProcess
  28. def withDependencies(workspace: WorkspaceId, dependsOnFiles: Set[String], timeout: FiniteDuration): StreamingProcess

    Permalink
  29. def withDependencies(dep: UploadDependencies): StreamingProcess

    Permalink
  30. def withEnv(key: String, value: String): StreamingProcess

    Permalink
  31. def withEnv(newEnv: Map[String, String]): StreamingProcess

    Permalink
  32. def withSettings(settings: StreamingSettings): StreamingProcess

    Permalink
  33. def withWorkspace(workspace: WorkspaceId): RunProcess

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RunProcess

Inherited from AnyRef

Inherited from Any

Ungrouped