Enum FeatureDiscoveryData.LinkType
- java.lang.Object
-
- java.lang.Enum<FeatureDiscoveryData.LinkType>
-
- com.atlassian.bamboo.feature.discovery.FeatureDiscoveryData.LinkType
-
- All Implemented Interfaces:
Serializable
,Comparable<FeatureDiscoveryData.LinkType>
- Enclosing class:
- FeatureDiscoveryData
public static enum FeatureDiscoveryData.LinkType extends Enum<FeatureDiscoveryData.LinkType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureDiscoveryData.LinkType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FeatureDiscoveryData.LinkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_MORE
public static final FeatureDiscoveryData.LinkType READ_MORE
A link to an external documentation page for users to read more about the feature.
-
TRY_IT
public static final FeatureDiscoveryData.LinkType TRY_IT
A link allowing users to try the feature, either within Bamboo or on an external non-documentation page.
-
-
Method Detail
-
values
public static FeatureDiscoveryData.LinkType[] 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 (FeatureDiscoveryData.LinkType c : FeatureDiscoveryData.LinkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeatureDiscoveryData.LinkType 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 nameNullPointerException
- if the argument is null
-
-