Class

agora.exec.client

LocalRunner

Related Doc: package client

Permalink

case class LocalRunner(workDir: Option[Path] = None)(implicit ec: ExecutionContext) extends ProcessRunner with StrictLogging with Product with Serializable

Something which can execute RunProcess

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

Instance Constructors

  1. new LocalRunner(workDir: Option[Path] = None)(implicit ec: ExecutionContext)

    Permalink

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
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def execute(proc: RunProcess, iterableLogger: IterableLogger, startedTry: Try[Process]): Future[Int]

    Permalink
  8. def execute(proc: RunProcess, iterableLogger: IterableLogger): Future[Int]

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  12. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def run(input: RunProcess): Future[RunProcessResult]

    Permalink

    Execute the RunProcess, returning a future of the std out

    Execute the RunProcess, returning a future of the std out

    returns

    the stdout as an iterator of lines in a Future which completes when the job does

    Definition Classes
    LocalRunnerProcessRunner
  16. final def run(command: String, args: String*): Future[RunProcessResult]

    Permalink

    Executes the command in the provided workspace

    Executes the command in the provided workspace

    command

    the command to execute

    args

    the command arguments

    returns

    the execution response

    Definition Classes
    ProcessRunner
  17. final def run(command: List[String], workspaceId: WorkspaceId): Future[RunProcessResult]

    Permalink

    Executes the command in the provided workspace

    Executes the command in the provided workspace

    command

    the command to execute

    workspaceId

    the workspace under which the command is run

    returns

    the execution response

    Definition Classes
    ProcessRunner
  18. final def save(proc: RunProcess): Future[FileResult]

    Permalink
    Definition Classes
    ProcessRunner
  19. def startProcess(proc: RunProcess, iterableLogger: IterableLogger): Try[Process]

    Permalink
  20. final def stream(command: String, args: String*): Future[StreamingResult]

    Permalink
    Definition Classes
    ProcessRunner
  21. final def stream(proc: RunProcess): Future[StreamingResult]

    Permalink
    Definition Classes
    ProcessRunner
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    LocalRunner → AnyRef → Any
  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 withDefaultEnv(env: Map[String, String]): WithEnvironmentProcessRunner[LocalRunner]

    Permalink
  28. val workDir: Option[Path]

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StrictLogging

Inherited from ProcessRunner

Inherited from AnyRef

Inherited from Any

Ungrouped