org.specrunner.source.text
Class Keywords

java.lang.Object
  extended by org.specrunner.source.text.Keywords

public class Keywords
extends Object

Map of special keywords.

Author:
Thiago Santos

Field Summary
protected static String BACKGROUND
          Background keyword.
protected  ResourceBundle bundle
          Bundle.
protected static String EXAMPLES
          Examples keyword.
protected static String FEATURE
          Feature keyword.
protected static String FINALLY
          Finally keyword.
protected static String SCENARIO
          Scenario keyword.
protected static String SCENARIO_OUTLINE
          Outline keyword.
 
Constructor Summary
Keywords(ResourceBundle bundle)
          Create a keyword set with a bundle.
 
Method Summary
 String getBackground()
          Get the i18n background keyword.
 String getExamples()
          Get the i18n examples keyword.
 String getFeature()
          Get the i18n feature keyword.
 String getFinally()
          Get the i18n finally keyword.
 String getScenario()
          Get the i18n scenario keyword.
 String getScenarioOutline()
          Get the i18n scenario outline keyword.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEATURE

protected static final String FEATURE
Feature keyword.

See Also:
Constant Field Values

BACKGROUND

protected static final String BACKGROUND
Background keyword.

See Also:
Constant Field Values

FINALLY

protected static final String FINALLY
Finally keyword.

See Also:
Constant Field Values

SCENARIO

protected static final String SCENARIO
Scenario keyword.

See Also:
Constant Field Values

SCENARIO_OUTLINE

protected static final String SCENARIO_OUTLINE
Outline keyword.

See Also:
Constant Field Values

EXAMPLES

protected static final String EXAMPLES
Examples keyword.

See Also:
Constant Field Values

bundle

protected ResourceBundle bundle
Bundle.

Constructor Detail

Keywords

public Keywords(ResourceBundle bundle)
Create a keyword set with a bundle.

Parameters:
bundle - The bundle.
Method Detail

getFeature

public String getFeature()
Get the i18n feature keyword.

Returns:
The feature keyword.

getBackground

public String getBackground()
Get the i18n background keyword.

Returns:
The background keyword.

getFinally

public String getFinally()
Get the i18n finally keyword.

Returns:
The finally keyword.

getScenario

public String getScenario()
Get the i18n scenario keyword.

Returns:
The scenario keyword.

getScenarioOutline

public String getScenarioOutline()
Get the i18n scenario outline keyword.

Returns:
The scenario outline keyword.

getExamples

public String getExamples()
Get the i18n examples keyword.

Returns:
The examples keyword.


Copyright © 2016. All rights reserved.