Enum Class JiraIssueLinkType

java.lang.Object
java.lang.Enum<JiraIssueLinkType>
com.atlassian.bamboo.jira.jiraissues.JiraIssueLinkType
All Implemented Interfaces:
Serializable, Comparable<JiraIssueLinkType>, Constable

@PublicApi public enum JiraIssueLinkType extends Enum<JiraIssueLinkType>
Represents a type of link between a build result and a jira issue
  • Enum Constant Details

  • Method Details

    • values

      public static JiraIssueLinkType[] 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 JiraIssueLinkType 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
    • getLinkType

      public String getLinkType()
      Returns a string representation of the link type
      Returns:
      String representation of the link type
    • getLinkDescription

      public String getLinkDescription()
      Description of link for UI.
      Returns:
      Description of link
    • intValue

      public int intValue()
      Return integer representing this enum.
      Since:
      4.1
    • fromInt

      public static JiraIssueLinkType fromInt(int intValue)
      Get JiraIssueLinkType object by its int value.
      Since:
      4.1