Package com.yahoo.prelude.semantics.rule
Class NamedCondition
- java.lang.Object
-
- com.yahoo.prelude.semantics.rule.NamedCondition
-
public class NamedCondition extends Object
A condition given a name which enables it to be referenced from other conditions.- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description NamedCondition(String name, Condition condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition
getCondition()
String
getName()
boolean
matches(RuleEvaluation e)
void
setCondition(Condition condition)
void
setName(String name)
String
toString()
Returns the canonical string representation of this named condition.
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getCondition
public Condition getCondition()
-
setCondition
public void setCondition(Condition condition)
-
matches
public boolean matches(RuleEvaluation e)
-
-