Packages

case class RegexWhen[+R](pattern: Regex, readFrom: FromInputStream = StdOut)(actions: Action[R, RegexWhen]*) extends When[R] with Product with Serializable

Source
Whens.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, When[R], LazyLogging, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RegexWhen
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. When
  7. LazyLogging
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RegexWhen(pattern: Regex, readFrom: FromInputStream = StdOut)(actions: Action[R, RegexWhen]*)

Type Members

  1. final type This[+X] = RegexWhen[X]

    The concrete When type constructor to which the actions will be applied.

    The concrete When type constructor to which the actions will be applied.

    Definition Classes
    RegexWhenWhen

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to any2stringadd[RegexWhen[R]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RegexWhen[R], B)
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to ArrowAssoc[RegexWhen[R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. val actions: Action[R, RegexWhen]*
    Definition Classes
    RegexWhenWhen
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def ensuring(cond: (RegexWhen[R]) ⇒ Boolean, msg: ⇒ Any): RegexWhen[R]
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to Ensuring[RegexWhen[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (RegexWhen[R]) ⇒ Boolean): RegexWhen[R]
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to Ensuring[RegexWhen[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): RegexWhen[R]
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to Ensuring[RegexWhen[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): RegexWhen[R]
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to Ensuring[RegexWhen[R]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean
    Definition Classes
    RegexWhen → Equals → AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to StringFormat[RegexWhen[R]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int
    Definition Classes
    RegexWhen → AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
  21. def matches(output: String): Boolean

    output

    the String to match against.

    returns

    whether this When matches against output.

    Definition Classes
    RegexWhenWhen
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. val pattern: Regex
  26. val patternString: String
    Definition Classes
    RegexWhenWhen
  27. val readFrom: FromInputStream
    Definition Classes
    RegexWhenWhen
  28. def regexMatch(output: String): Match
    Attributes
    protected[work.martins.simon.expect.core]
  29. def run[RR >: R](runContext: RunContext[RR]): RunContext[RR]

    Runs all the actions of this When.

    Runs all the actions of this When.

    Definition Classes
    When
  30. def structurallyEquals[RR >: R](other: When[RR]): Boolean

    Definition Classes
    RegexWhenWhen
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    When → AnyRef → Any
  33. 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 this When.

    Definition Classes
    RegexWhenWhen
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withActions[T](actions: Seq[Action[T, This]]): RegexWhen[T]

    Create a new When with the specified actions.

    Create a new When with the specified actions.

    Definition Classes
    RegexWhenWhen
  38. def [B](y: B): (RegexWhen[R], B)
    Implicit
    This member is added by an implicit conversion from RegexWhen[R] to ArrowAssoc[RegexWhen[R]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from When[R]

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RegexWhen[R] to any2stringadd[RegexWhen[R]]

Inherited by implicit conversion StringFormat from RegexWhen[R] to StringFormat[RegexWhen[R]]

Inherited by implicit conversion Ensuring from RegexWhen[R] to Ensuring[RegexWhen[R]]

Inherited by implicit conversion ArrowAssoc from RegexWhen[R] to ArrowAssoc[RegexWhen[R]]

Ungrouped