Packages

case class ProcessGroupImplIOE[O, E](firstProcess: Prox.Process[Prox.ProxStream[Byte], E], innerProcesses: List[UnboundIProcess[Prox.ProxStream[Byte], E]], lastProcess: UnboundIProcess[O, E], originalProcesses: List[Prox.Process[Unit, Unit]]) extends Prox.ProcessGroup[O, E] with Product with Serializable

Process group with bound input, output and error streams

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessGroupImplIOE
  2. Serializable
  3. Product
  4. Equals
  5. ProcessGroup
  6. ProcessGroupConfiguration
  7. ProcessLikeConfiguration
  8. ProcessLike
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ProcessGroupImplIOE(firstProcess: Prox.Process[Prox.ProxStream[Byte], E], innerProcesses: List[UnboundIProcess[Prox.ProxStream[Byte], E]], lastProcess: UnboundIProcess[O, E], originalProcesses: List[Prox.Process[Unit, Unit]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applyConfiguration(workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String]): Self
    Attributes
    protected
    Definition Classes
    ProcessGroupConfigurationProcessLikeConfiguration
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val environmentVariables: Map[String, String]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. val firstProcess: Prox.Process[Prox.ProxStream[Byte], E]
    Definition Classes
    ProcessGroupImplIOEProcessGroup
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def in(workingDirectory: Path): Self

    Changes the working directory of the process

    Changes the working directory of the process

    workingDirectory

    the working directory

    returns

    a new process with the working directory set

    Definition Classes
    ProcessLikeConfiguration
  13. def inInheritedWorkingDirectory(): Self

    Use the inherited working directory of the process instead of an explicit one

    Use the inherited working directory of the process instead of an explicit one

    returns

    a new process with the working directory cleared

    Definition Classes
    ProcessLikeConfiguration
  14. val innerProcesses: List[UnboundIProcess[Prox.ProxStream[Byte], E]]
    Definition Classes
    ProcessGroupImplIOEProcessGroup
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val lastProcess: UnboundIProcess[O, E]
    Definition Classes
    ProcessGroupImplIOEProcessGroup
  17. def map(f: Mapper[O, E]): ProcessGroupImplIOE[O, E]

    Applies the given mapper to each process in the group

    Applies the given mapper to each process in the group

    f

    process mapper

    returns

    a new process group with all the processes altered by the mapper

    Definition Classes
    ProcessGroupImplIOEProcessGroup
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val originalProcesses: List[Prox.Process[Unit, Unit]]
    Definition Classes
    ProcessGroupImplIOEProcessGroup
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val removedEnvironmentVariables: Set[String]
  24. def run[Info]()(implicit runner: Prox.ProcessRunner[Info]): Prox.ProxIO[Prox.ProcessGroupResult[O, E]]

    Starts the process group asynchronously and blocks the execution until it is finished

    Starts the process group asynchronously and blocks the execution until it is finished

    runner

    The process runner to be used

    returns

    the result of the finished processes

    Definition Classes
    ProcessGroup
  25. def start[Info]()(implicit runner: Prox.ProcessRunner[Info]): Prox.ProxResource[Prox.ProxFiber[Prox.ProcessGroupResult[O, E]]]

    Starts the process group asynchronously and returns a closeable fiber representing it

    Starts the process group asynchronously and returns a closeable fiber representing it

    Joining the fiber waits for the processes to be terminated. Canceling the fiber terminates the processesnormally (with SIGTERM).

    runner

    The process runner to be used

    returns

    a managed fiber representing the running processes

    Definition Classes
    ProcessGroup
  26. def startProcessGroup[Info]()(implicit runner: Prox.ProcessRunner[Info]): Prox.ProxIO[Prox.RunningProcessGroup[O, E, Info]]

    Starts the process group asynchronously and returns the RunningProcessGroup interface for it

    Starts the process group asynchronously and returns the RunningProcessGroup interface for it

    This is the most advanced way to start process groups. See start and run as alternatives.

    Info

    The runner-specific information about the started processes

    runner

    The process runner to be used

    returns

    interface for handling the running process group

    Definition Classes
    ProcessGroup
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. def with(nameValuePair: (String, String)): Self

    Adds an environment variable to the process

    Adds an environment variable to the process

    nameValuePair

    A pair of name and value

    returns

    a new process with the working directory set

    Definition Classes
    ProcessLikeConfiguration
  32. def without(name: String): Self

    Removes an environment variable from the process

    Removes an environment variable from the process

    Usable to remove variables inherited from the parent process.

    name

    Name of the environment variable

    returns

    a new process with the working directory set

    Definition Classes
    ProcessLikeConfiguration
  33. val workingDirectory: Option[Path]
  34. object ConfigApplication
    Definition Classes
    ProcessGroupConfiguration

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Prox.ProcessGroup[O, E]

Inherited from Prox.ProcessGroupConfiguration[O, E]

Inherited from ProcessLike

Inherited from AnyRef

Inherited from Any

Ungrouped