Class

agora.exec.run

LocalRunner

Related Doc: package run

Permalink

class LocalRunner extends ProcessRunner with StrictLogging

Something which can execute RunProcess

Linear Supertypes
StrictLogging, ProcessRunner, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocalRunner
  2. StrictLogging
  3. ProcessRunner
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalRunner(workDir: Option[Path] = None, defaultEnv: Map[String, String] = Map.empty)(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. def add(logger: ProcessLogger): LocalRunner

    Permalink

    Adds the given logger to be notified when processes are run

    Adds the given logger to be notified when processes are run

    logger

    the logger to add for all processes used by this runner

    returns

    the local runner instance (builder pattern)

  5. def asByteIterator(runProc: RunProcess): Source[ByteString, NotUsed]

    Permalink
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val defaultEnv: Map[String, String]

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def execute(builder: ProcessBuilder, proc: RunProcess, iterableLogger: IterableLogger): Future[Int]

    Permalink
  12. def execute(builder: ProcessBuilder, proc: RunProcess): IterableLogger

    Permalink
  13. def execute(preparedProcess: RunProcess): IterableLogger

    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 hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  19. def mkLogger(proc: RunProcess): IterableLogger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def remove(logger: ProcessLogger): Unit

    Permalink
  24. def run(proc: RunProcess): ProcessOutput

    Permalink

    Execute the RunProcess, returning a future of the std out

    Execute the RunProcess, returning a future of the std out

    proc

    the job to execute

    returns

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

    Definition Classes
    LocalRunnerProcessRunner
  25. final def run(cmd: String, theRest: String*): ProcessOutput

    Permalink
    Definition Classes
    ProcessRunner
  26. def runAndSave(proc: RunProcessAndSave): Future[RunProcessAndSaveResponse]

    Permalink

    Execute the RunProcessAndSave, writing the results to disk

    Execute the RunProcessAndSave, writing the results to disk

    returns

    a future of the response

    Definition Classes
    LocalRunnerProcessRunner
  27. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    LocalRunner → AnyRef → Any
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withLogger(newLogger: (IterableLogger) ⇒ IterableLogger): LocalRunner

    Permalink

    returns

    a new LocalRunner which will use the logger produced by this function

  33. val workDir: Option[Path]

    Permalink

Inherited from StrictLogging

Inherited from ProcessRunner

Inherited from AnyRef

Inherited from Any

Ungrouped