Package com.atlassian.bamboo.navigation
Enum AdminPanelSection
- java.lang.Object
-
- java.lang.Enum<AdminPanelSection>
-
- com.atlassian.bamboo.navigation.AdminPanelSection
-
- All Implemented Interfaces:
Serializable
,Comparable<AdminPanelSection>
public enum AdminPanelSection extends Enum<AdminPanelSection>
Represents a section under which pages are located in the administration panel.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_ONS
BUILD_RESOURCES
COMMUNICATION
ELASTIC_BAMBOO
GADGETS
PLANS
SECURITY
SYSTEM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAdminPanelLinkId()
ID of the link displayed in the navigation bar of the administration panel.String
getDropdownMenuLinkId()
ID of the link displayed in the dropdown in the main header of every page.static AdminPanelSection
valueOf(String name)
Returns the enum constant of this type with the specified name.static AdminPanelSection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILD_RESOURCES
public static final AdminPanelSection BUILD_RESOURCES
-
ELASTIC_BAMBOO
public static final AdminPanelSection ELASTIC_BAMBOO
-
PLANS
public static final AdminPanelSection PLANS
-
SECURITY
public static final AdminPanelSection SECURITY
-
COMMUNICATION
public static final AdminPanelSection COMMUNICATION
-
ADD_ONS
public static final AdminPanelSection ADD_ONS
-
GADGETS
public static final AdminPanelSection GADGETS
-
SYSTEM
public static final AdminPanelSection SYSTEM
-
-
Method Detail
-
values
public static AdminPanelSection[] 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 (AdminPanelSection c : AdminPanelSection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AdminPanelSection 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
-
getAdminPanelLinkId
public String getAdminPanelLinkId()
ID of the link displayed in the navigation bar of the administration panel.
-
getDropdownMenuLinkId
public String getDropdownMenuLinkId()
ID of the link displayed in the dropdown in the main header of every page.
-
-