Class InactivePeriodNotice


  • public class InactivePeriodNotice
    extends java.lang.Object
    A InactivePeriodNotice represents a notification that the ResourceUnit should become inactive due to a schedule change. The inactive period notice may be required to be immediate or not. If not immediate, then the inactive period may be delayed until the resource unit finishes its current activity.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getId

        public final int getId()
        Returns:
        a unique id
      • getCreateTime

        public final double getCreateTime()
        Returns:
        the time that the notice was created
      • getInactiveTime

        public final double getInactiveTime()
        Returns:
        the time that the failure should last
      • isDelayable

        public final boolean isDelayable()
        If the notice can be delayed while resource finishes busy state
        Returns:
        true if the notice can be delayed
      • isInCreatedState

        public final boolean isInCreatedState()
        Returns:
        true if in created state
      • isInDelayedState

        public final boolean isInDelayedState()
        Returns:
        true if in delayed state
      • isInIgnoredState

        public final boolean isInIgnoredState()
        Returns:
        true if in ignored state
      • isInCompletedState

        public final boolean isInCompletedState()
        Returns:
        true if in completed state
      • isInActiveState

        public final boolean isInActiveState()
        Returns:
        true if in active state