|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.process.instance.impl.RuleConstraintEvaluator
public class RuleConstraintEvaluator
Default implementation of a constraint.
Constructor Summary | |
---|---|
RuleConstraintEvaluator()
|
Method Summary | |
---|---|
boolean |
evaluate(NodeInstance instance,
Connection connection,
Constraint constraint)
|
String |
getConstraint()
Typically this method returns the constraint as a String |
String |
getDialect()
Returns the dialect of the constraint, e.g. |
Object |
getMetaData(String name)
|
String |
getName()
Returns the name of the constraint |
int |
getPriority()
Returns the priority of the constraint |
String |
getType()
Returns the type of the constraint, e.g. |
boolean |
isDefault()
|
void |
setConstraint(String constraint)
Method for setting the constraint |
void |
setDefault(boolean isDefault)
|
void |
setDialect(String dialect)
Method for setting the dialect of the constraint, e.g. |
void |
setMetaData(String name,
Object value)
|
void |
setName(String name)
Sets the name of the constraint |
void |
setPriority(int priority)
Method for setting the priority of the constraint |
void |
setType(String type)
Method for setting the type of the constraint, e.g. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuleConstraintEvaluator()
Method Detail |
---|
public String getConstraint()
Constraint
getConstraint
in interface Constraint
public void setConstraint(String constraint)
Constraint
setConstraint
in interface Constraint
constraint
- the constraintpublic String getName()
Constraint
getName
in interface Constraint
public void setName(String name)
Constraint
setName
in interface Constraint
name
- the name of the constraintpublic String toString()
toString
in class Object
public int getPriority()
Constraint
getPriority
in interface Constraint
public void setPriority(int priority)
Constraint
setPriority
in interface Constraint
priority
- the priority of the constraintpublic String getDialect()
Constraint
getDialect
in interface Constraint
public void setDialect(String dialect)
Constraint
setDialect
in interface Constraint
dialect
- the dialect of the constraintpublic String getType()
Constraint
getType
in interface Constraint
public void setType(String type)
Constraint
setType
in interface Constraint
type
- the type of the constraintpublic boolean isDefault()
isDefault
in interface Constraint
public void setDefault(boolean isDefault)
setDefault
in interface Constraint
public boolean evaluate(NodeInstance instance, Connection connection, Constraint constraint)
evaluate
in interface ConstraintEvaluator
public Object getMetaData(String name)
getMetaData
in interface Constraint
public void setMetaData(String name, Object value)
setMetaData
in interface Constraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |