Process

trait Process extends Runner

A shell process.

Companion
object
trait Runner
trait Control
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Types

type Repr[T <: Txn[T]] <: Peer[T]

Value members

Abstract methods

def output: Ex[String]

Inherited methods

def busy: Trig

Triggers if the state becomes 1, 2, or 3.

Triggers if the state becomes 1, 2, or 3.

Inherited from
Runner
def canEqual(that: Any): Boolean
Inherited from
Equals
def done: Trig

Triggers if the state becomes 4

Triggers if the state becomes 4

Inherited from
Runner
final
def expand[T <: Txn[LazyRef(...)]](implicit ctx: Context[T], tx: T): Repr[T]
Inherited from
Lazy
def failed: Trig

Triggers if the state becomes 5

Triggers if the state becomes 5

Inherited from
Runner
def hasFailed: Ex[Boolean]

State is 5.

State is 5.

Inherited from
Runner
def idle: Trig

Triggers if the state becomes 0, 4, or 5

Triggers if the state becomes 0, 4, or 5

Inherited from
Runner
def isBusy: Ex[Boolean]

State is 1, 2, or 3. Opposite of idle

State is 1, 2, or 3. Opposite of idle

Inherited from
Runner
def isDone: Ex[Boolean]

State is 4.

State is 4.

Inherited from
Runner
def isIdle: Ex[Boolean]

State is 0, 4, or 5. Opposite of busy

State is 0, 4, or 5. Opposite of busy

Inherited from
Runner
def isRunning: Ex[Boolean]

State is 3.

State is 3.

Inherited from
Runner
def isStopped: Ex[Boolean]

State is 0.

State is 0.

Inherited from
Runner
def isStoppedOrDone: Ex[Boolean]

State is 0 or 4.

State is 0 or 4.

Inherited from
Runner
def messages: Ex[Seq[(Long, Int, String)]]

A message tuple is (time, level, text) where level is 0 (info), 1 (warn) or 2 (error).

A message tuple is (time, level, text) where level is 0 (info), 1 (warn) or 2 (error).

Inherited from
Runner
protected
def mkRepr[T <: Txn[LazyRef(...)]](implicit ctx: Context[T], tx: T): Repr[T]
Inherited from
Lazy
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product
def progress: Ex[Double]

Zero to one. Negative if unknown

Zero to one. Negative if unknown

Inherited from
Runner
def run: Act

Runs the process without custom arguments.

Runs the process without custom arguments.

Inherited from
Runner
def runWith(attr: Attr*): Act

Runs the process with a list of given key-value arguments.

Runs the process with a list of given key-value arguments.

Inherited from
Runner
def running: Trig

Triggers if the state becomes 2

Triggers if the state becomes 2

Inherited from
Runner
def state: Ex[Int]

0 - stopped, 1 - preparing, 2 - prepared, 3 - running, 4 - done, 5 - failed

0 - stopped, 1 - preparing, 2 - prepared, 3 - running, 4 - done, 5 - failed

Inherited from
Runner
def stop: Act

Stops the process.

Stops the process.

Inherited from
Runner
def stopped: Trig

Triggers if the state becomes 0

Triggers if the state becomes 0

Inherited from
Runner
def stoppedOrDone: Trig

Triggers if the state becomes 0 or 4

Triggers if the state becomes 0 or 4

Inherited from
Runner
final
def token: AnyRef
Inherited from
Control

Abstract fields

var directory: Ex[URI]

The process' current working directory.

The process' current working directory.

Inherited fields

@transient
final protected
val ref: Object
Inherited from
Lazy