Interface Prioritized

  • All Known Implementing Classes:
    CalendarEvent

    public interface Prioritized
    It defines the property of an object of being potentially prioritized. By default, a PlannableOnCalendar object isn't a priority; in such a case, it has a normal priority.
    Author:
    mmoquillon
    • Method Detail

      • withPriority

        Prioritized withPriority​(Priority priority)
        Sets a priority to this prioritized object.
        Parameters:
        priority - a priority level.
        Returns:
        itself.
      • getPriority

        Priority getPriority()
        Gets the priority of this object.
        Returns:
        a priority level.
      • isPriority

        default boolean isPriority()
        Is this object a priority?
        Returns:
        true if this object has a priority level other than normal. False otherwise.