Enum TaskDependency.Type

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

public static enum TaskDependency.Type extends Enum<TaskDependency.Type>
Which end of the predecessor holds which end of the successor.
  • Enum Constant Details

    • FINISH_TO_START

      public static final TaskDependency.Type FINISH_TO_START
      The successor starts after the predecessor finishes. The usual one.
    • START_TO_START

      public static final TaskDependency.Type START_TO_START
      The successor starts after the predecessor starts.
    • FINISH_TO_FINISH

      public static final TaskDependency.Type FINISH_TO_FINISH
      The successor finishes after the predecessor finishes.
    • START_TO_FINISH

      public static final TaskDependency.Type START_TO_FINISH
      The successor finishes after the predecessor starts.
  • Method Details

    • values

      public static TaskDependency.Type[] 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 TaskDependency.Type 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