sealed trait When[+R] extends LazyLogging
Ordering
- Alphabetic
- By Inheritance
Inherited
- When
- LazyLogging
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Type Members
Abstract Value Members
-
abstract
def
actions: Seq[Action[R, This]]
The actions this
When
runs when it matches against the output read fromreadFrom
InputStream. -
abstract
def
matches(output: String): Boolean
- output
the String to match against.
- returns
whether this
When
matches againstoutput
.
-
abstract
def
patternString: String
Textual representation of the pattern this
When
will match against. -
abstract
def
readFrom: FromInputStream
From which InputStream to read text from.
-
abstract
def
withActions[T](actions: Seq[Action[T, This]]): This[T]
Create a new
When
with the specified actions.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (When[R], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (When[R]) ⇒ Boolean, msg: ⇒ Any): When[R]
- def ensuring(cond: (When[R]) ⇒ Boolean): When[R]
- def ensuring(cond: Boolean, msg: ⇒ Any): When[R]
- def ensuring(cond: Boolean): When[R]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
run[RR >: R](runContext: RunContext[RR]): RunContext[RR]
Runs all the actions of this
When
. - def structurallyEquals[RR >: R](other: When[RR]): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- When → AnyRef → Any
-
def
trimToMatchedText(output: String): String
- output
the output to trim.
- returns
the text in
output
that remains after removing all the text up to and including the first occurrence of the text matched by thisWhen
.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (When[R], B)