ilog.rules.teamserver.model.states

Class AbstractTransitionCondition<State extends java.lang.Enum<State>>

    • Constructor Detail

      • AbstractTransitionCondition

        public AbstractTransitionCondition()
    • Method Detail

      • impossibleTransitionCause

        public TransitionCondition<State> impossibleTransitionCause(State s1,
                                                           State s2)
        Description copied from class: TransitionCondition

        Returns the part of this condition that causes the provided transition to be impossible.

        Note: This method assumes that the provided transition is indeed not allowed by this condition. It does not test it. Unspecified result is returned if this method is called on a transition that is allowed by this condition.

        Specified by:
        impossibleTransitionCause in class TransitionCondition<State extends java.lang.Enum<State>>
        Parameters:
        s1 - The start state of the transition, or null when checking whether s2 is an allowed initial state.
        s2 - Then end state of the transition. Cannot be null.
        Returns:
        an instance of TransitionCondition that is not satisfied, which causes the provided transition to be impossible.

© Copyright IBM Corp. 1987, 2017