public static enum BDDDefinitionHelper.BDDKeyword extends java.lang.Enum<BDDDefinitionHelper.BDDKeyword>
For example to specify Synonyms for "Given" keyword provide property:
Given=Provided;GivenThat;Assume
Enum Constant and Description |
---|
And |
Given |
Having |
Then |
Using |
When |
With |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getAllKeyWords()
all keywords including synonyms
|
static java.lang.String |
getKeywordFrom(java.lang.String behavior) |
static java.lang.String |
getKeyWordRegEx() |
java.util.List<java.lang.String> |
getSynonyms() |
static BDDDefinitionHelper.BDDKeyword |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BDDDefinitionHelper.BDDKeyword[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BDDDefinitionHelper.BDDKeyword Given
public static final BDDDefinitionHelper.BDDKeyword When
public static final BDDDefinitionHelper.BDDKeyword Then
public static final BDDDefinitionHelper.BDDKeyword And
public static final BDDDefinitionHelper.BDDKeyword Using
public static final BDDDefinitionHelper.BDDKeyword Having
public static final BDDDefinitionHelper.BDDKeyword With
public static BDDDefinitionHelper.BDDKeyword[] values()
for (BDDDefinitionHelper.BDDKeyword c : BDDDefinitionHelper.BDDKeyword.values()) System.out.println(c);
public static BDDDefinitionHelper.BDDKeyword valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.List<java.lang.String> getAllKeyWords()
public static java.lang.String getKeyWordRegEx()
public java.util.List<java.lang.String> getSynonyms()
BDDDefinitionHelper.BDDKeyword
name as key.public static java.lang.String getKeywordFrom(java.lang.String behavior)
Copyright © 2000 Infostretch Corp.