Class

work.martins.simon.expect.core

RegexWhen

Related Doc: package core

Permalink

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

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)(actions: Action[R, RegexWhen]*)

    Permalink

Type Members

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef → Any
  6. val actions: Action[R, RegexWhen]*

    Permalink

    The actions this when runs when it matches against the current output of Expect.

    The actions this when runs when it matches against the current output of Expect.

    Definition Classes
    RegexWhenWhen
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def ensuring(cond: (RegexWhen[R]) ⇒ Boolean, msg: ⇒ Any): RegexWhen[R]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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]

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    RegexWhen → Equals → AnyRef → Any
  15. def execute(process: RichProcess, intermediateResult: IntermediateResult[R]): IntermediateResult[R]

    Permalink

    Executes all the actions of this When.

    Executes all the actions of this When.

    Definition Classes
    When
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    RegexWhen → AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  22. def matches(output: String): Boolean

    Permalink

    output

    the String to match against.

    returns

    whether this When matches against output.

    Definition Classes
    RegexWhenWhen
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val pattern: Regex

    Permalink
  27. val patternString: String

    Permalink
    Definition Classes
    RegexWhenWhen
  28. def regexMatch(output: String): Match

    Permalink
    Attributes
    protected[work.martins.simon.expect.core]
  29. def structurallyEqualActions(other: When[R]): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    When
  30. def structurallyEquals(other: When[R]): Boolean

    Permalink

    Definition Classes
    RegexWhenWhen
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    When → AnyRef → Any
  33. def trimToMatchedText(output: String): String

    Permalink

    output

    the output to trim.

    returns

    the text in output that remains after removing all the text up to the first occurrence of the text matched by this When and then removing the text matched by this When.

    Definition Classes
    RegexWhenWhen
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def withActions[T](actions: Seq[Action[T, This]]): RegexWhen[T]

    Permalink

    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)

    Permalink
    Implicit information
    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