Enum ContainerSize
- java.lang.Object
-
- java.lang.Enum<ContainerSize>
-
- com.atlassian.bamboo.specs.api.builders.pbc.ContainerSize
-
- All Implemented Interfaces:
Serializable,Comparable<ContainerSize>
public enum ContainerSize extends Enum<ContainerSize>
Enum of symbolic names for agent container size in PerBuildContainerForEnvironment and PerBuildContainerForJob
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContainerSizevalueOf(String name)Returns the enum constant of this type with the specified name.static ContainerSize[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LARGE_8X
public static final ContainerSize LARGE_8X
-
LARGE_4X
public static final ContainerSize LARGE_4X
-
XXLARGE
public static final ContainerSize XXLARGE
-
XLARGE
public static final ContainerSize XLARGE
-
LARGE
public static final ContainerSize LARGE
-
REGULAR
public static final ContainerSize REGULAR
-
SMALL
public static final ContainerSize SMALL
-
XSMALL
public static final ContainerSize XSMALL
-
-
Method Detail
-
values
public static ContainerSize[] 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 (ContainerSize c : ContainerSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerSize 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
-
-