Enum JiraIssueLinkType

    • Method Detail

      • values

        public static JiraIssueLinkType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (JiraIssueLinkType c : JiraIssueLinkType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JiraIssueLinkType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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