Class PerBuildContainerForJob


  • public class PerBuildContainerForJob
    extends com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>
    Per Build Container definition for Bamboo Jobs.
    • Constructor Detail

      • PerBuildContainerForJob

        public PerBuildContainerForJob()
    • Method Detail

      • enabled

        public PerBuildContainerForJob enabled​(boolean enabled)
        Marks PBC as enabled for given job. Default value is true.
      • withFeatureFlags

        public PerBuildContainerForJob withFeatureFlags​(java.util.HashSet<java.lang.String> featureFlags)
      • size

        public PerBuildContainerForJob size​(java.lang.String size)
        Symbolic name for size of the container. See ContainerSize enum for allowed values. The default value is 'REGULAR'.
      • awsRole

        public PerBuildContainerForJob awsRole​(java.lang.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​(java.lang.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
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in class com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration<PerBuildContainerForJobProperties>