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

com.liveperson.ephemerals.deploy.unit.ContainerizedDeploymentUnit Maven / Gradle / Ivy

There is a newer version: 1.0.0.7
Show newest version
package com.liveperson.ephemerals.deploy.unit;

/**
 *
 * Specification for a deployment unit which runs as a container.
 *
 * Created by waseemh on 9/5/16.
 */
public class ContainerizedDeploymentUnit extends DeploymentUnit {

    private String image;

    public ContainerizedDeploymentUnit(Builder builder) {
        super(builder);
        this.image = builder.image;
    }

    public String getImage() {
        return image;
    }

    public static class Builder extends DeploymentUnit.Builder {

        private String image;

        public Builder(String name, String image) {
            super(name);
            this.image = image;
        }

        public ContainerizedDeploymentUnit build() {
            return new ContainerizedDeploymentUnit(this);
        }

    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy