站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

IConstraint (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.ruleflow.core
Interface IConstraint

All Known Implementing Classes:
Constraint

public interface IConstraint

Represents a constraint in a RuleFlow. Can be used to specify conditions in (X)OR-splits.

Author:
Kris Verlaenen

Method Summary
 String getConstraint()
          Typically this method returns the constraint
 String getName()
          Returns the name of the constraint
 int getPriority()
          Returns the priority of the constriant
 void setConstraint(String constraint)
          Method for setting the constraint
 void setName(String name)
          Sets the name of the constraint
 void setPriority(int priority)
          Method for setting the priority of the constraint
 

Method Detail

getConstraint

String getConstraint()
Typically this method returns the constraint

Returns:
the constraint

setConstraint

void setConstraint(String constraint)
Method for setting the constraint

Parameters:
constraint - the constraint

getName

String getName()
Returns the name of the constraint

Returns:
the name of the constraint

setName

void setName(String name)
Sets the name of the constraint

Parameters:
name - the name of the constraint

getPriority

int getPriority()
Returns the priority of the constriant

Returns:
the priority of the constraint

setPriority

void setPriority(int priority)
Method for setting the priority of the constraint

Parameters:
priority - the priority of the constraint


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.