Package org.azd.enums

Enum Class QueryRecursionOption

java.lang.Object
java.lang.Enum<QueryRecursionOption>
org.azd.enums.QueryRecursionOption
All Implemented Interfaces:
Serializable, Comparable<QueryRecursionOption>, Constable

public enum QueryRecursionOption extends Enum<QueryRecursionOption>
The recursion option for use in a tree query.
  • Enum Constant Details

    • CHILDFIRST

      public static final QueryRecursionOption CHILDFIRST
      Returns work items that satisfy the target criteria, even if no work item satisfies the source and link criteria.
    • PARENTFIRST

      public static final QueryRecursionOption PARENTFIRST
      Returns work items that satisfy the source, even if no linked work item satisfies the target and link criteria.
  • Method Details

    • values

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

      public static QueryRecursionOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null