|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Rule
A representation of the model object 'Rule'. Rule class contains inference methods.
The following features are supported:
ModelPackage.getRule()| Method Summary | |
|---|---|
int |
getPriority()
Returns the value of the 'Priority' attribute. |
void |
setPriority(int value)
Sets the value of the ' Priority' attribute. |
| Methods inherited from interface com.hammurapi.config.Named |
|---|
getName, inject, isRuntime, setName, setRuntime |
| Methods inherited from interface com.hammurapi.config.ObjectDefinition |
|---|
getConstructor, getType, getValue, setConstructor, setType, setValue |
| Methods inherited from interface com.hammurapi.config.Factory |
|---|
compile, create, getConfigScript, getDescription, getHomePage, getId, getService, getSource, getSupportedExecutionEnvironments, isEnabled, setConfigScript, setDescription, setEnabled, setHomePage, setId |
| Methods inherited from interface com.hammurapi.party.CommonObject |
|---|
getRoles |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface com.hammurapi.config.PropertySource |
|---|
getClassPath, getProfile, getProperty, injectProperties |
| Method Detail |
|---|
int getPriority()
"0".
Rule priority applies to all inference methods in the rule. Priority specified in @Infer annotation overrides rule level priority setting.
Rules with higher priority are executed before rules with lower priority. Rules with higher priority can "consume" input fact, thus preventing invocation of rules with lower priority. Order of execution of rules with the same priority is undefined.
setPriority(int),
ModelPackage.getRule_Priority()void setPriority(int value)
Priority' attribute.
value - the new value of the 'Priority' attribute.getPriority()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||