All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.bamboo.specs.api.model.pbc.PerBuildContainerForEnvironmentProperties Maven / Gradle / Ivy

The newest version!
package com.atlassian.bamboo.specs.api.model.pbc;

import com.atlassian.bamboo.specs.api.builders.pbc.PerBuildContainerForEnvironment;
import com.atlassian.bamboo.specs.api.codegen.annotations.Builder;
import com.atlassian.bamboo.specs.api.codegen.annotations.CodeGenerator;
import com.atlassian.bamboo.specs.api.model.AtlassianModuleProperties;
import com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties;
import com.atlassian.bamboo.specs.codegen.emitters.pbc.PerBuildContainerForEnvironmentEmitter;
import java.util.HashSet;
import java.util.List;

@Builder(PerBuildContainerForEnvironment.class)
@CodeGenerator(PerBuildContainerForEnvironmentEmitter.class)
public class PerBuildContainerForEnvironmentProperties extends AbstractPerBuildContainerProperties
        implements EnvironmentPluginConfigurationProperties {

    private PerBuildContainerForEnvironmentProperties() {
        super(AtlassianModulePBC.ENVIRONMENT.module());
    }

    public PerBuildContainerForEnvironmentProperties(
            boolean enabled,
            String image,
            String size,
            List extraContainers,
            String awsRole,
            String architecture,
            HashSet featureFlags) {
        super(
                AtlassianModulePBC.ENVIRONMENT.module(),
                enabled,
                image,
                size,
                extraContainers,
                awsRole,
                architecture,
                featureFlags);
    }

    @Override
    public AtlassianModuleProperties getAtlassianPlugin() {
        return module;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy