Enum Class YouTubeKey

java.lang.Object
java.lang.Enum<YouTubeKey>
org.opencastproject.publication.youtube.YouTubeKey
All Implemented Interfaces:
Serializable, Comparable<YouTubeKey>, Constable

public enum YouTubeKey extends Enum<YouTubeKey>
Used to reference individual YouTube service configurations.
See Also:
  • GoogleCredential
  • Enum Constant Details

    • credentialDatastore

      public static final YouTubeKey credentialDatastore
    • scopes

      public static final YouTubeKey scopes
    • clientSecretsV3

      public static final YouTubeKey clientSecretsV3
    • dataStore

      public static final YouTubeKey dataStore
    • keywords

      public static final YouTubeKey keywords
    • defaultPlaylist

      public static final YouTubeKey defaultPlaylist
    • makeVideosPrivate

      public static final YouTubeKey makeVideosPrivate
    • maxFieldLength

      public static final YouTubeKey maxFieldLength
  • Method Details

    • values

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