Class PerBuildContainerForJob
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<T>
-
- com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>
-
- com.atlassian.bamboo.specs.api.builders.pbc.PerBuildContainerForJob
-
public class PerBuildContainerForJob extends com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>
Per Build Container definition for Bamboo Jobs.
-
-
Constructor Summary
Constructors Constructor Description PerBuildContainerForJob()
-
Method Summary
-
-
-
Method Detail
-
enabled
public PerBuildContainerForJob enabled(boolean enabled)
Marks PBC as enabled for given job. Default value is true.
-
image
public PerBuildContainerForJob image(String image)
-
withFeatureFlag
public PerBuildContainerForJob withFeatureFlag(String featureFlag)
-
withFeatureFlags
public PerBuildContainerForJob withFeatureFlags(HashSet<String> featureFlags)
-
size
public PerBuildContainerForJob size(String size)
Symbolic name for size of the container. See ContainerSize enum for allowed values. The default value is 'REGULAR'.
-
size
public PerBuildContainerForJob size(ContainerSize size)
Symbolic name for size of the container. The default value is 'REGULAR'.
-
awsRole
public PerBuildContainerForJob awsRole(String awsRole)
AWS Role of the current build. Optional. Needs to be supported by the runtime environment.
-
architecture
public PerBuildContainerForJob architecture(Architecture architecture)
Architecture the build should run on Optional. If specified, the Bamboo server must have this configured as one of the available architectures.
-
architecture
@Deprecated public PerBuildContainerForJob architecture(String architecture)
Deprecated.This method will not be removed, but it should not be used unless you have a need for a specific architecture not specified in the Architecture enum. You should use.architecture(Architecture a)instead.- Parameters:
architecture- A string which is the name of the architecture
-
extraContainers
public PerBuildContainerForJob extraContainers(ExtraContainer... extraContainers)
-
extraContainers
public PerBuildContainerForJob extraContainers(List<ExtraContainer> extraContainers)
-
build
protected PerBuildContainerForJobProperties build()
- Specified by:
buildin classcom.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>
-
equals
public boolean equals(Object o)
- Specified by:
equalsin classcom.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>
-
hashCode
public int hashCode()
- Specified by:
hashCodein classcom.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>
-
-