com.atlassian.bamboo.jira.jiraissues
Enum JiraIssueLinkType

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

public enum JiraIssueLinkType
extends java.lang.Enum<JiraIssueLinkType>

Represents a type of link between a build result and a jira issue


Enum Constant Summary
BUILD_CAUSES
           
BUILD_FIXES
           
BUILD_RELATES
           
 
Method Summary
static JiraIssueLinkType fromInt(int intValue)
          Get JiraIssueLinkType object by its int value.
 java.lang.String getLinkDescription()
          Description of link for UI.
 java.lang.String getLinkType()
          Returns a string representation of the link type
 int intValue()
          Return integer representing this enum.
static JiraIssueLinkType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JiraIssueLinkType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUILD_RELATES

public static final JiraIssueLinkType BUILD_RELATES

BUILD_FIXES

public static final JiraIssueLinkType BUILD_FIXES

BUILD_CAUSES

public static final JiraIssueLinkType BUILD_CAUSES
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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getLinkType

public java.lang.String getLinkType()
Returns a string representation of the link type

Returns:
String representation of the link type

getLinkDescription

public java.lang.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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.