Class RequirementDefinition
java.lang.Object
net.thucydides.model.requirements.model.RequirementDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionRequirementDefinition(String type, String text) RequirementDefinition(Optional<String> title, Optional<String> id, Optional<String> cardNumber, List<String> versionNumbers, String type, String text) RequirementDefinition(Optional<String> title, Optional<String> id, Optional<String> cardNumber, List<String> versionNumbers, String type, String text, List<TestTag> tags) RequirementDefinition(Optional<String> title, Optional<String> id, Optional<String> cardNumber, List<String> versionNumbers, String type, String text, List<TestTag> tags, List<String> scenarios, Map<String, Collection<TestTag>> scenarioTags) -
Method Summary
Modifier and TypeMethodDescriptiongetId()getTags()getText()getTitle()getType()ruleBackgroundForRule(String ruleName) toString()withBackground(FeatureBackgroundNarrative background) withRuleBackgrounds(Map<String, FeatureBackgroundNarrative> ruleBackgrounds)
-
Constructor Details
-
RequirementDefinition
-
RequirementDefinition
-
RequirementDefinition
-
RequirementDefinition
-
-
Method Details
-
getId
-
getTitle
-
getCardNumber
-
getText
-
getType
-
getVersionNumbers
-
toString
-
getScenarios
-
getTags
-
getScenarioTags
-
withBackground
-
withRuleBackgrounds
public RequirementDefinition withRuleBackgrounds(Map<String, FeatureBackgroundNarrative> ruleBackgrounds) -
background
-
ruleBackgroundForRule
-