@Deprecated public interface IlrRuleTask extends IlrTask
It contains a rule selection or a runtime rule selection. Both gather a list
of rules and/or rule packages in the scope attribute (getScope()).
getSelect()) information is provided, the
rule task will have a rule selection. The scope attribute is translated in
IRL as a body. getSelect()) information is provided, the rule
task will have a runtime rule selection. The scope attribute is translated in
IRL as a scope and the select as a body select. The body select can either be
dynamic or not depending on the dynamic attribute (isDynamic()).
IlrTask it contains
documentation, initial and final actions, and has a unique identifying name.
The following features are supported:
IlrRuleflowPackage.getRuleTask()| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdvancedProperties()
Deprecated.
|
IlrAlgorithmKind |
getAlgorithm()
Deprecated.
|
java.lang.String |
getBalSelect()
Deprecated.
|
IlrExitCriteriaKind |
getExitCriteria()
Deprecated.
|
IlrOrderingKind |
getOrdering()
Deprecated.
|
org.eclipse.emf.common.util.EList<IlrScopeElement> |
getScope()
Deprecated.
|
java.lang.String |
getSelect()
Deprecated.
|
boolean |
isBalSelect()
Deprecated.
|
boolean |
isDynamic()
Deprecated.
|
boolean |
isIsBalSelect()
Deprecated.
|
void |
setAdvancedProperties(java.lang.String value)
Deprecated.
|
void |
setAlgorithm(IlrAlgorithmKind value)
Deprecated.
|
void |
setBalSelect(boolean balSelect)
Deprecated.
|
void |
setDynamic(boolean value)
Deprecated.
|
void |
setExitCriteria(IlrExitCriteriaKind value)
Deprecated.
|
void |
setIsBalSelect(boolean value)
Deprecated.
|
void |
setOrdering(IlrOrderingKind value)
Deprecated.
|
void |
setSelect(java.lang.String value)
Deprecated.
|
getDocumentation, getFinalActions, getInitialActions, getName, setDocumentation, setFinalActions, setInitialActions, setNamecloneElement, createAnnotation, deleteElement, fillWith, getAdapter, getDisplayName, getModel, isDeleted, isValid, setPropertyValue, setPropertyValuegetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereClass, getPropertyValue, getPropertyValue, isInstanceOf@Deprecated java.lang.String getSelect()
Select is the runtime rule selection filter. It
contains IRL code that filters out the rules to trigger on the rule task.
The IRL is equivalent to the body of a method whose signature would be:
function boolean select(IlrRule ?rule) { ... }
Such a method must return a boolean expression. All the rules contained in
the scope (getScope()) will be checked against this filter. Only
the rules for which the method returns true will be kept. When no scope is
defined all the rules of the rule project will be evaluated.
@Deprecated void setSelect(java.lang.String value)
Select'
attribute.
Sets the IRL filtering out the rules.
value - the new value of the 'Select' attribute.getSelect()@Deprecated org.eclipse.emf.common.util.EList<IlrScopeElement> getScope()
The list contents are of type
IlrScopeElement. Defines the list of rules to include in the rule task. This list can be
defined in extension, listing explicitly all the rules, or in intention,
adding rule packages in the list with the ".*" notation ending the name of
the rule package.
The scope is a list of String, each String being the fully
qualified name of the rule or rule package followed by ".*".
IlrRuleflowPackage.getRuleTask_Scope()@Deprecated boolean isIsBalSelect()
setIsBalSelect(boolean)@Deprecated void setIsBalSelect(boolean value)
Is Bal Select'
attribute.
value - the new value of the 'Is Bal Select' attribute.isIsBalSelect()@Deprecated boolean isDynamic()
Indicates if the runtime rule selection is dynamic or not. A dynamic runtime selection indicates that the select filter will be evaluated for each call of the rule task. A non dynamic runtime rule selection will be evaluated only on the first call of the rule task.
setDynamic(boolean)@Deprecated void setDynamic(boolean value)
Dynamic'
attribute.
A 'true' value indicates that the select filter will be evaluated at each execution of the rule task. A 'false' value indicates that the select filter will be evaluated only at the first execution of the rule task, the defined list of rules being maintained for further calls.
value - the new value of the 'Dynamic' attribute.isDynamic()@Deprecated IlrAlgorithmKind getAlgorithm()
The literals are from the enumeration
IlrAlgorithmKind. Indicates whether the algorithm of rule election is
either RETE (default) or sequential.
IlrAlgorithmKind,
setAlgorithm(IlrAlgorithmKind),
IlrRuleflowPackage.getRuleTask_Algorithm()@Deprecated void setAlgorithm(IlrAlgorithmKind value)
Algorithm'
attribute.
Sets the algorithm to use for rule selection. Valid
values are the literal objects of the IlrAlgorithmKind.
value - the new value of the 'Algorithm' attribute.IlrAlgorithmKind,
getAlgorithm()@Deprecated IlrOrderingKind getOrdering()
The literals are from the enumeration
IlrOrderingKind. Indicates the method for ordering the rules to trigger
in the rule task.
IlrOrderingKind,
setOrdering(IlrOrderingKind),
IlrRuleflowPackage.getRuleTask_Ordering()@Deprecated void setOrdering(IlrOrderingKind value)
Ordering'
attribute.
Sets the ordering method of the call of the rules of the rule task.
value - the new value of the 'Ordering' attribute.IlrOrderingKind,
getOrdering()@Deprecated java.lang.String getAdvancedProperties()
A formated text replacing the body and adding some user specific properties.
In Rule Designer, the user does not need to use the advanced properties to
set a runtime rule selection, the scope replaces the "in domain" and the
select [getSelect()) plus dynamic (isDynamic())
attributes allow to create a rule filter.
setAdvancedProperties(String),
IlrRuleflowPackage.getRuleTask_AdvancedProperties()@Deprecated void setAdvancedProperties(java.lang.String value)
Advanced Properties'
attribute.
The advanced properties is formatted text. It is used to add some user specific properties. It also replaces the body of the task by a user specific definition, for backward compatibility mainly.
In Rule Designer, the user does not need to use the advanced properties to
set a runtime rule selection, the scope replaces the "in domain" and the
select [setSelect(String)) plus dynamic (setDynamic(boolean))
attributes allow to create a rule filter.
value - the new value of the 'Advanced Properties'
attribute.getAdvancedProperties()@Deprecated IlrExitCriteriaKind getExitCriteria()
The literals are from the enumeration
IlrExitCriteriaKind.
IlrExitCriteriaKind,
setExitCriteria(IlrExitCriteriaKind)@Deprecated void setExitCriteria(IlrExitCriteriaKind value)
Exit Criteria'
attribute.
value - the new value of the 'Exit Criteria' attribute.IlrExitCriteriaKind,
getExitCriteria()@Deprecated java.lang.String getBalSelect()
@Deprecated boolean isBalSelect()
@Deprecated void setBalSelect(boolean balSelect)
balSelect - © Copyright IBM Corp. 1987, 2017