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

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

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

import com.atlassian.bamboo.specs.api.builders.pbc.PerBuildContainerForJob;
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.plan.configuration.PluginConfigurationProperties;
import com.atlassian.bamboo.specs.codegen.emitters.pbc.PerBuildContainerForJobEmitter;
import java.util.HashSet;
import java.util.List;

@Builder(PerBuildContainerForJob.class)
@CodeGenerator(PerBuildContainerForJobEmitter.class)
public class PerBuildContainerForJobProperties extends AbstractPerBuildContainerProperties
        implements PluginConfigurationProperties {

    private PerBuildContainerForJobProperties() {
        super(AtlassianModulePBC.JOB.module());
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy