Enum GanttTask.Constraint

java.lang.Object
java.lang.Enum<GanttTask.Constraint>
com.codename1.scheduling.GanttTask.Constraint
All Implemented Interfaces:
Comparable<GanttTask.Constraint>
Enclosing class:
GanttTask

public static enum GanttTask.Constraint extends Enum<GanttTask.Constraint>
A limit on when a task may be scheduled, on top of its dependencies.
  • Enum Constant Details

    • AS_SOON_AS_POSSIBLE

      public static final GanttTask.Constraint AS_SOON_AS_POSSIBLE
      No limit: as early as the dependencies allow.
    • START_NO_EARLIER_THAN

      public static final GanttTask.Constraint START_NO_EARLIER_THAN
    • START_NO_LATER_THAN

      public static final GanttTask.Constraint START_NO_LATER_THAN
    • FINISH_NO_EARLIER_THAN

      public static final GanttTask.Constraint FINISH_NO_EARLIER_THAN
    • FINISH_NO_LATER_THAN

      public static final GanttTask.Constraint FINISH_NO_LATER_THAN
    • MUST_START_ON

      public static final GanttTask.Constraint MUST_START_ON
      Starts on the date whatever the dependencies say.
    • MUST_FINISH_ON

      public static final GanttTask.Constraint MUST_FINISH_ON
      Finishes on the date whatever the dependencies say.
  • Method Details

    • values

      public static GanttTask.Constraint[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GanttTask.Constraint valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null