Fragment

case class Fragment(description: Description, execution: Execution, location: Location)

Fragment of a specification

It has a description (generally text but sometimes not, for a step for example) It has an execution which might do or don't do anything (for examples it runs some code)

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Returns:

the result of this fragment and its execution time

def executionResult: Action[Result]
Returns:

the result of this fragment

def isExecutable: Boolean
Returns:

true if this fragment can be executed

various methods to stop the execution of the next fragment

various methods to stop the execution of the next fragment

def makeGlobal(when: Boolean): Fragment
def mustStopOn(r: Result): Boolean
Returns:

stop the execution of the next fragment based on a condition

set a different execution

set a different execution

def setLocation(location: Location): Fragment
def setPreviousResult(r: Option[Result]): Fragment

set the previous execution result when known

set the previous execution result when known

def setTimeout(timeout: FiniteDuration): Fragment

skip this fragment

skip this fragment

start the execution of this fragment

start the execution of this fragment

start the execution of this fragment when the other one has finished executing

start the execution of this fragment when the other one has finished executing

def startExecutionAfter(other: Option[Fragment])(env: Env): Fragment

start the execution of this fragment when the other one has finished executing

start the execution of this fragment when the other one has finished executing

def startExecutionAfter(others: List[Fragment])(env: Env): Fragment

start the execution of this fragment when the other ones has finished executing

start the execution of this fragment when the other ones has finished executing

def stopOn(r: Result): Fragment

various methods to stop the execution of the next fragment

various methods to stop the execution of the next fragment

def stopWhen(f: Result => Boolean): Fragment
override def toString: String
Definition Classes
Any

update the description

update the description

def was(statusCheck: String => Boolean): Boolean

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product