Package org.azd.enums

Enum Class FeedCapabilities

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

public enum FeedCapabilities extends Enum<FeedCapabilities>
Supported capabilities of a feed.
  • Enum Constant Details

    • DEFAULTCAPABILITIES

      public static final FeedCapabilities DEFAULTCAPABILITIES
      The capabilities given to a newly created feed
    • NONE

      public static final FeedCapabilities NONE
      No flags exist for this feed
    • UNDERMAINTENANCE

      public static final FeedCapabilities UNDERMAINTENANCE
      This feed is currently under maintenance and may have reduced functionality
    • UPSTREAMV2

      public static final FeedCapabilities UPSTREAMV2
      This feed can serve packages from upstream sources Upstream packages must be manually promoted to views
  • Method Details

    • values

      public static FeedCapabilities[] 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 FeedCapabilities 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