public class Rule extends Object
| Constructor and Description |
|---|
Rule(String name,
String description,
RuleBackground background) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static Rule |
from(io.cucumber.messages.Messages.GherkinDocument.Feature.FeatureChild.Rule cucumberRule) |
RuleBackground |
getBackground() |
String |
getDescription() |
String |
getName() |
boolean |
hasBackground() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setName(String name) |
public Rule(String name, String description, RuleBackground background)
public static Rule from(io.cucumber.messages.Messages.GherkinDocument.Feature.FeatureChild.Rule cucumberRule)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public boolean hasBackground()
public RuleBackground getBackground()
Copyright © 2021. All rights reserved.