Enum TemplateTransformator
- java.lang.Object
-
- java.lang.Enum<TemplateTransformator>
-
- com.atlassian.bamboo.agent.ephemeral.TemplateTransformator
-
- All Implemented Interfaces:
Serializable
,Comparable<TemplateTransformator>
public enum TemplateTransformator extends Enum<TemplateTransformator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAMBOO_AGENT_CONTAINER_NAME
BAMBOO_EPHEMERAL_AGENT_DATA_VAL
NAME
RESOURCE_LABEL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRawPlaceholder()
String
transform(@NotNull String input, @NotNull String replacement)
static TemplateTransformator
valueOf(String name)
Returns the enum constant of this type with the specified name.static TemplateTransformator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final TemplateTransformator NAME
-
RESOURCE_LABEL
public static final TemplateTransformator RESOURCE_LABEL
-
BAMBOO_AGENT_CONTAINER_NAME
public static final TemplateTransformator BAMBOO_AGENT_CONTAINER_NAME
-
BAMBOO_EPHEMERAL_AGENT_DATA_VAL
public static final TemplateTransformator BAMBOO_EPHEMERAL_AGENT_DATA_VAL
-
-
Method Detail
-
values
public static TemplateTransformator[] 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 (TemplateTransformator c : TemplateTransformator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TemplateTransformator 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
-
getRawPlaceholder
public String getRawPlaceholder()
-
-