abstract
class
When[P, T] extends RegexExtractor[P, T]
Instance Constructors
-
new
When(regex: String = "", groupRegex: String = text.RegexExtractor.DEFAULT_REGEX)
Abstract Value Members
-
abstract
def
extract(p: P, text: String): T
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
extract1(t: String): String
-
def
extract10(t: String): (String, String, String, String, String, String, String, String, String, String)
-
def
extract2(t: String): (String, String)
-
def
extract3(t: String): (String, String, String)
-
def
extract4(t: String): (String, String, String, String)
-
def
extract5(t: String): (String, String, String, String, String)
-
def
extract6(t: String): (String, String, String, String, String, String)
-
def
extract7(t: String): (String, String, String, String, String, String, String)
-
def
extract8(t: String): (String, String, String, String, String, String, String, String)
-
def
extract9(t: String): (String, String, String, String, String, String, String, String, String)
-
def
extractAll(t: String): List[String]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
val
groupRegex: String
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
regex: String
-
def
regexToUse: Regex
-
def
strip(text: String): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
Inherited from AnyRef
Inherited from Any
This step define conditions in a sequence of Given / When / Then.
It must define the extract function taking the previous state of extracted values, P, and creating a new state of type T from the extracted values