Package net.thucydides.core.model
Class Rule
java.lang.Object
net.thucydides.core.model.Rule
public class Rule
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Rule(java.lang.String name, java.lang.String description, RuleBackground background) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)static Rulefrom(io.cucumber.messages.Messages.GherkinDocument.Feature.FeatureChild.Rule cucumberRule)RuleBackgroundgetBackground()java.lang.StringgetDescription()java.lang.StringgetName()booleanhasBackground()inthashCode()voidsetDescription(java.lang.String description)voidsetName(java.lang.String name)Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Rule
-
-
Method Details
-
from
public static Rule from(io.cucumber.messages.Messages.GherkinDocument.Feature.FeatureChild.Rule cucumberRule) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getDescription
public java.lang.String getDescription() -
setDescription
public void setDescription(java.lang.String description) -
hasBackground
public boolean hasBackground() -
getBackground
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-