website.automate.waml.io.model.main.criteria.IncludeCriteria Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of waml-io Show documentation
Show all versions of waml-io Show documentation
(De)Serializer of the web automation markup language (WAML) for Java
The newest version!
package website.automate.waml.io.model.main.criteria;
public class IncludeCriteria implements Criteria {
private static final String DEFAULT_CRITERION_NAME = "scenario";
private String scenario;
public IncludeCriteria() {
super();
}
public IncludeCriteria(String scenario) {
this();
this.scenario = scenario;
}
public String getScenario() {
return scenario;
}
public void setScenario(String scenario) {
this.scenario = scenario;
}
@Override
public boolean canBeShortNotated() {
return true;
}
@Override
public String getDefaultCriterionName() {
return DEFAULT_CRITERION_NAME;
}
@Override
public String getDefaultCriterionValue() {
return getScenario();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy