TaskRunner

com.mchange.sysadmin.TaskRunner
See theTaskRunner companion object
class TaskRunner[T]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

object Carrier

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Carrier.type
object Step

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Step.type
sealed trait Step extends AbstractStep

Attributes

Companion
object
Supertypes
trait AbstractStep
class Object
trait Matchable
class Any
Known subtypes
class Arbitrary
class Exec
object Task

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Task.type
trait Task extends AbstractTask

Attributes

Companion
object
Supertypes
trait AbstractTask
class Object
trait Matchable
class Any

Types

type Carrier = (T, Int, String, String) => T
type Exec = Exec
type Result = Result

Value members

Concrete methods

def arbitrary(name: String, action: (T, Arbitrary) => Result, isSuccess: Completed => Boolean, workingDirectory: Path, environment: Map[String, String], actionDescription: String): Arbitrary
def arbitraryExec(prior: T, thisStep: Arbitrary, command: Shellable, carryForward: Carrier): Result
def arbitraryExec(prior: T, thisStep: Arbitrary, command: Shellable)(using ev: T =:= Unit): Result
def exec(name: String, parsedCommand: List[String], workingDirectory: Path, environment: Map[String, String], carrier: Carrier, isSuccess: Completed => Boolean): Exec
def result(exitCode: Option[Int], stepOut: String, stepErr: String, carryForward: T, notes: Option[String], carryForwardDescriber: T => Option[String]): Result
def runAndReport(task: Task, reporters: List[Run => Unit]): Unit
def silentRun(task: Task): Run

Concrete fields

val Result: Result.type