ilog.rules.teamserver.web.components.property

Class IlrEventContextDefinition

  • java.lang.Object
    • ilog.rules.teamserver.web.components.property.IlrEventContextDefinition


  • public class IlrEventContextDefinition
    extends java.lang.Object
    Represents an Event Context Definition, also known as an Event Flow.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean add(com.ibm.wbe.model.RepRule rule)
      When a Rule is added, the triggering Events plus any Actions are added as well.
      protected java.lang.String getBody() 
      protected static IlrBrmPackage getBrmPackage() 
      protected static com.ibm.wbe.model.AsAssetContainer getContainer() 
      protected IlrEventFlow getElementDetails() 
      java.lang.String getId() 
      protected com.ibm.wbe.model.RepProcess getRepObject() 
      protected static ilog.rules.teamserver.model.IlrSessionEx getSession() 
      protected static java.util.Locale getUserLocale() 
      boolean remove(com.ibm.wbe.model.RepRule rule)
      Remove a rule so it's no longer processed as part of this Context Definition.
      java.lang.String repObjectToString() 
      static java.lang.String repObjectToString(com.ibm.wbe.model.RepObject asset) 
      void setBody(com.ibm.wbe.model.RepProcess asset) 
      void setBody(java.lang.String body) 
      protected void setElementDetails(java.lang.String uuid) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRepObject

        protected com.ibm.wbe.model.RepProcess getRepObject()
      • getBody

        protected java.lang.String getBody()
      • setBody

        public void setBody(com.ibm.wbe.model.RepProcess asset)
      • setBody

        public void setBody(java.lang.String body)
      • getElementDetails

        protected IlrEventFlow getElementDetails()
      • getId

        public java.lang.String getId()
      • add

        public boolean add(com.ibm.wbe.model.RepRule rule)
        When a Rule is added, the triggering Events plus any Actions are added as well.
        • For Rule Steps add a following edge from a following port to the rule in the business step to a following port to the action in the rule step. (Note that old event flows referenced the action in the business step port.)
        • For Rule Steps add a normal edge from a normal port to the rule in the business step to a normal port to the event in the rule step. (Note that old event flows referenced the event in the business step port.)
        • For Business Steps no edges are added, because none seem to be needed. (Note that old event flows had redundant edges in the business steps.)
        Parameters:
        rule - What to reference.
        Returns:
        true if changes were made.
      • remove

        public boolean remove(com.ibm.wbe.model.RepRule rule)
        Remove a rule so it's no longer processed as part of this Context Definition. This method can be called for refactoring, when a rule is removed from the context or deleted. Note that you must delete the rule from the project or remove the work-flow reference from the rule, or other methods may automatically re-added the rule to this Context Definition.
        Parameters:
        rule - The rule to remove.
        Returns:
        true if the rule was successfully removed.
      • getUserLocale

        protected static java.util.Locale getUserLocale()
      • getSession

        protected static ilog.rules.teamserver.model.IlrSessionEx getSession()
      • repObjectToString

        public java.lang.String repObjectToString()
      • repObjectToString

        public static java.lang.String repObjectToString(com.ibm.wbe.model.RepObject asset)

© Copyright IBM Corp. 1987, 2017