ilog.rules.studio.model.ruleflow

Interface IlrRuleTask

  • All Superinterfaces:
    org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, IlrElement, IlrTask, org.eclipse.emf.common.notify.Notifier

    Deprecated.

    @Deprecated
    public interface IlrRuleTask
    extends IlrTask
    A representation of the model object 'Rule Task'.

    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()).

    • When no select (getSelect()) information is provided, the rule task will have a rule selection. The scope attribute is translated in IRL as a body.
    • When a select (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()).
    As all IlrTask it contains documentation, initial and final actions, and has a unique identifying name.

    The following features are supported:

    See Also:
    IlrRuleflowPackage.getRuleTask()
    • Method Detail

      • getSelect

        @Deprecated
        java.lang.String getSelect()
        Deprecated. 
        Returns the value of the 'Select' attribute.

        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.
        Returns:
        the value of the 'Select' attribute.
      • setSelect

        @Deprecated
        void setSelect(java.lang.String value)
        Deprecated. 
        Sets the value of the 'Select' attribute.

        Sets the IRL filtering out the rules.

        • When a select attribute is present the rule task has a runtime rule selection and the select will be put in the "body = select" of the rule task.
        • When no select attribute is present, the scope attribute will be transformed into a "body" in the IRL of the rule task.
        Parameters:
        value - the new value of the 'Select' attribute.
        See Also:
        getSelect()
      • getScope

        @Deprecated
        org.eclipse.emf.common.util.EList<IlrScopeElement> getScope()
        Deprecated. 
        Returns the value of the 'Scope' reference list.

        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 ".*".

        Returns:
        the value of the 'Scope' reference list.
        See Also:
        IlrRuleflowPackage.getRuleTask_Scope()
      • isIsBalSelect

        @Deprecated
        boolean isIsBalSelect()
        Deprecated. 
        Returns the value of the 'Is Bal Select' attribute.

        Returns:
        the value of the 'Is Bal Select' attribute.
        See Also:
        setIsBalSelect(boolean)
      • setIsBalSelect

        @Deprecated
        void setIsBalSelect(boolean value)
        Deprecated. 
        Sets the value of the 'Is Bal Select' attribute.

        Parameters:
        value - the new value of the 'Is Bal Select' attribute.
        See Also:
        isIsBalSelect()
      • isDynamic

        @Deprecated
        boolean isDynamic()
        Deprecated. 
        Returns the value of the 'Dynamic' attribute.

        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.

        Returns:
        the value of the 'Dynamic' attribute.
        See Also:
        setDynamic(boolean)
      • setDynamic

        @Deprecated
        void setDynamic(boolean value)
        Deprecated. 
        Sets the value of the '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.

        Parameters:
        value - the new value of the 'Dynamic' attribute.
        See Also:
        isDynamic()
      • setOrdering

        @Deprecated
        void setOrdering(IlrOrderingKind value)
        Deprecated. 
        Sets the value of the 'Ordering' attribute.

        Sets the ordering method of the call of the rules of the rule task.

        Parameters:
        value - the new value of the 'Ordering' attribute.
        See Also:
        IlrOrderingKind, getOrdering()
      • getAdvancedProperties

        @Deprecated
        java.lang.String getAdvancedProperties()
        Deprecated. 
        Returns the value of the 'Advanced Properties' attribute.

        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.

        Returns:
        the value of the 'Advanced Properties' attribute.
        See Also:
        setAdvancedProperties(String), IlrRuleflowPackage.getRuleTask_AdvancedProperties()
      • setAdvancedProperties

        @Deprecated
        void setAdvancedProperties(java.lang.String value)
        Deprecated. 
        Sets the value of the '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.

        Parameters:
        value - the new value of the 'Advanced Properties' attribute.
        See Also:
        getAdvancedProperties()
      • getBalSelect

        @Deprecated
        java.lang.String getBalSelect()
        Deprecated. 
      • isBalSelect

        @Deprecated
        boolean isBalSelect()
        Deprecated. 
      • setBalSelect

        @Deprecated
        void setBalSelect(boolean balSelect)
        Deprecated. 
        Parameters:
        balSelect -

© Copyright IBM Corp. 1987, 2017