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

org.rouplex.service.deployment.Deployment Maven / Gradle / Ivy

The newest version!
package org.rouplex.service.deployment;

import java.util.HashSet;
import java.util.Set;

/**
 * @author Andi Mullaraj (andimullaraj at gmail.com)
 */
public class Deployment {
    private String id;
    private DeploymentConfiguration deploymentConfiguration;

    // Following fields get updated by various threads synchronized using this instance
    private final Set clusterIds = new HashSet<>();

    public Deployment() {
    }

    Deployment(String id, DeploymentConfiguration deploymentConfiguration) {
        this.id = id;
        this.deploymentConfiguration = deploymentConfiguration;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public DeploymentConfiguration getDeploymentConfiguration() {
        return deploymentConfiguration;
    }

    public void setDeploymentConfiguration(DeploymentConfiguration deploymentConfiguration) {
        this.deploymentConfiguration = deploymentConfiguration;
    }

    public Set getClusterIds() {
        return clusterIds;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy