Enum Class ComponentContainer.ContainerLevel
java.lang.Object
java.lang.Enum<ComponentContainer.ContainerLevel>
com.atlassian.jira.component.pico.ComponentContainer.ContainerLevel
- All Implemented Interfaces:
Serializable,Comparable<ComponentContainer.ContainerLevel>,Constable
- Enclosing class:
- ComponentContainer
public static enum ComponentContainer.ContainerLevel
extends Enum<ComponentContainer.ContainerLevel>
The possible levels of a
ComponentContainer.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether this level extends (adds components to) theBOOTSTRAPlevel.getName()Returns the name of this level.Returns the name of a new container at this level.booleanIndicates whether this level is for the full (not e.g.Returns the enum constant of this class with the specified name.static ComponentContainer.ContainerLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOTSTRAP
-
FAILED_STARTUP
-
SETUP
-
FULL_CONTAINER
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNewContainerName
Returns the name of a new container at this level.- Returns:
- see above
- Throws:
IllegalStateException- if this level extends bootstrap- Since:
- 7.7
-
extendsBootstrap
public boolean extendsBootstrap()Indicates whether this level extends (adds components to) theBOOTSTRAPlevel.- Returns:
- see above
-
isFullContainer
public boolean isFullContainer()Indicates whether this level is for the full (not e.g. bootstrap) component container.- Returns:
- see above
-
getName
Returns the name of this level.- Returns:
- a non-blank name
-