Package org.azd.enums

Enum Class FeedRole

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

public enum FeedRole extends Enum<FeedRole>
The role for this identity on a feed.
  • Enum Constant Details

    • ADMINISTRATOR

      public static final FeedRole ADMINISTRATOR
      Administrators have total control over the feed.
    • COLLABORATOR

      public static final FeedRole COLLABORATOR
      Collaborators have the same permissions as readers, but can also ingest packages from configured upstream sources.
    • CONTRIBUTOR

      public static final FeedRole CONTRIBUTOR
      Contributors can do anything to packages in the feed including adding new packages, but they may not modify feed settings.
    • READER

      public static final FeedRole READER
      Readers can only read packages and view settings.
  • Method Details

    • values

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