com.liveperson.ephemerals.deploy.unit.ContainerizedDeploymentUnit Maven / Gradle / Ivy
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);
}
}
}