public class Rule extends Object
| Constructor and Description |
|---|
Rule(String name,
String description,
List<TestTag> tags,
RuleBackground background) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static Rule |
from(io.cucumber.messages.types.Rule cucumberRule) |
RuleBackground |
getBackground() |
String |
getDescription() |
String |
getName() |
List<TestTag> |
getTags() |
boolean |
hasBackground() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setName(String name) |
public Rule(String name, String description, List<TestTag> tags, RuleBackground background)
public static Rule from(io.cucumber.messages.types.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 © 2023. All rights reserved.