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.
  • Enum Constant Details

  • Method Details

    • values

      public static ComponentContainer.ContainerLevel[] 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

      public static ComponentContainer.ContainerLevel valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNewContainerName

      @Nonnull public String 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) the BOOTSTRAP level.
      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

      @Nonnull public String getName()
      Returns the name of this level.
      Returns:
      a non-blank name