Enum Class FetchOption

java.lang.Object
java.lang.Enum<FetchOption>
org.projectnessie.api.params.FetchOption
All Implemented Interfaces:
Serializable, Comparable<FetchOption>, Constable

@Deprecated public enum FetchOption extends Enum<FetchOption>
Deprecated.
Legacy FetchOption enum. Use FetchOption instead.
  • Enum Constant Details

    • MINIMAL

      public static final FetchOption MINIMAL
      Deprecated.
    • ALL

      public static final FetchOption ALL
      Deprecated.
  • Method Details

    • values

      public static FetchOption[] values()
      Deprecated.
      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 FetchOption valueOf(String name)
      Deprecated.
      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
    • isFetchAll

      public static boolean isFetchAll(@Nullable @Nullable FetchOption fetchOption)
      Deprecated.
      Will return true if the given fetchOption is ALL, false otherwise.
      Parameters:
      fetchOption - the FetchOption to evaluate.
      Returns:
      true if the given fetchOption is ALL, false otherwise.
    • getFetchOptionName

      public static String getFetchOptionName(@Nullable @Nullable FetchOption fetchOption)
      Deprecated.
      Will return the name from the given fetchOption or MINIMAL if the given fetchOption is null.
      Parameters:
      fetchOption - The FetchOption to evaluate and potentially return.
      Returns:
      The name of the given fetchOption or MINIMAL if the given fetchOption is null
    • toModel

      public FetchOption toModel()
      Deprecated.