|
jBPM distribution 6.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.process.instance.impl.ReturnValueConstraintEvaluator
public class ReturnValueConstraintEvaluator
Default implementation of a constraint.
| Constructor Summary | |
|---|---|
ReturnValueConstraintEvaluator()
|
|
| 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 |
ReturnValueEvaluator |
getReturnValueEvaluator()
|
String |
getType()
Returns the type of the constraint, e.g. |
boolean |
isDefault()
|
void |
readExternal(ObjectInput in)
|
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 |
setEvaluator(ReturnValueEvaluator evaluator)
|
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()
|
void |
wire(Object object)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReturnValueConstraintEvaluator()
| Method Detail |
|---|
public String getConstraint()
Constraint
getConstraint in interface Constraintpublic void setConstraint(String constraint)
Constraint
setConstraint in interface Constraintconstraint - the constraintpublic String getName()
Constraint
getName in interface Constraintpublic void setName(String name)
Constraint
setName in interface Constraintname - the name of the constraintpublic String toString()
toString in class Objectpublic int getPriority()
Constraint
getPriority in interface Constraintpublic void setPriority(int priority)
Constraint
setPriority in interface Constraintpriority - the priority of the constraintpublic String getDialect()
Constraint
getDialect in interface Constraintpublic void setDialect(String dialect)
Constraint
setDialect in interface Constraintdialect - the dialect of the constraintpublic String getType()
Constraint
getType in interface Constraintpublic void setType(String type)
Constraint
setType in interface Constrainttype - the type of the constraintpublic boolean isDefault()
isDefault in interface Constraintpublic void setDefault(boolean isDefault)
setDefault in interface Constraintpublic void wire(Object object)
wire in interface org.drools.core.spi.Wireablepublic void setEvaluator(ReturnValueEvaluator evaluator)
public ReturnValueEvaluator getReturnValueEvaluator()
public boolean evaluate(NodeInstance instance,
Connection connection,
Constraint constraint)
evaluate in interface ConstraintEvaluator
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void setMetaData(String name,
Object value)
setMetaData in interface Constraintpublic Object getMetaData(String name)
getMetaData in interface Constraint
|
jBPM distribution 6.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||