Enum Class LabelableType

java.lang.Object
java.lang.Enum<LabelableType>
com.atlassian.confluence.labels.LabelableType
All Implemented Interfaces:
Serializable, Comparable<LabelableType>, Constable

public enum LabelableType extends Enum<LabelableType>
Represents the different kinds of content that can have labels.
  • Enum Constant Details

  • Method Details

    • values

      public static LabelableType[] 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 LabelableType 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
    • getTypeString

      public static String getTypeString(Class<? extends EditableLabelable> labelableClass)
    • getType

      public static LabelableType getType(Class<? extends EditableLabelable> labelableClass)
    • getFromTypeString

      public static LabelableType getFromTypeString(String typeString)
    • typeString

      public String typeString()
    • getLabelableClass

      public Class<? extends EditableLabelable> getLabelableClass()