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.types.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.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 © 2022. All rights reserved.