ProcessGroupConfiguration

io.github.vigoo.prox.ProcessGroupModule.ProcessGroupConfiguration

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ProcessGroup[O, E]
class ProcessGroupImplIOE[O, E]
class ProcessGroupImplOE[O, E]
Show all
Self type
ProcessGroup[O, E]

Members list

Type members

Classlikes

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Types

override type Self <: ProcessGroup[O, E]

Value members

Concrete methods

override protected def applyConfiguration(workingDirectory: Option[Path], environmentVariables: Map[String, String], removedEnvironmentVariables: Set[String]): Self

Attributes

Definition Classes

Inherited methods

def `with`(nameValuePair: (String, String)): Self

Adds an environment variable to the process

Adds an environment variable to the process

Value parameters

nameValuePair

A pair of name and value

Attributes

Returns

a new process with the working directory set

Inherited from:
ProcessLikeConfiguration
def in(workingDirectory: Path): Self

Changes the working directory of the process

Changes the working directory of the process

Value parameters

workingDirectory

the working directory

Attributes

Returns

a new process with the working directory set

Inherited from:
ProcessLikeConfiguration

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

Attributes

Returns

a new process with the working directory cleared

Inherited from:
ProcessLikeConfiguration
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.

Value parameters

name

Name of the environment variable

Attributes

Returns

a new process with the working directory set

Inherited from:
ProcessLikeConfiguration

Concrete fields

override val environmentVariables: Map[String, String]
override val removedEnvironmentVariables: Set[String]
override val workingDirectory: Option[Path]