ilog.rules.teamserver.model

Class CommitEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class CommitEvent
    extends SessionEvent
    Used to notify interested parties that an object has been committed in Decision Center.
    See Also:
    Serialized Form
    • Constructor Detail

      • CommitEvent

        public CommitEvent(IlrSession session,
                   IlrCommitableObject cobject,
                   IlrElementHandle newHandle)
        Constructs a new commit event.
        Parameters:
        session - The session associated with the event.
        cobject - The committable object that was just committed.
        newHandle - The handle of the new element created/updated by the commit. May be null if the commit operation is not yet completed.
      • CommitEvent

        public CommitEvent(IlrSession session,
                   IlrBaseline baseline,
                   IlrCommitableObject cobject,
                   IlrElementHandle newHandle)
        Constructs a new commit event.
        Parameters:
        session - The session associated with the event.
        baseline - The branch in which the commit is done.
        cobject - The committable object that was just committed.
        newHandle - The handle of the new element created/updated by the commit. May be null if the commit operation is not yet completed.
    • Method Detail

      • getCommitableObject

        public IlrCommitableObject getCommitableObject()
        Gets the committable object that was just committed.
        Returns:
        A committable object. Cannot be null.
      • getNewHandle

        public IlrElementHandle getNewHandle()
        Returns:
        The handle of the new element created/updated by the commit. May be null if the commit operation is not yet completed.

© Copyright IBM Corp. 1987, 2017