
org.kuali.common.deploy.env.model.DeployEnvironment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kuali-deploy Show documentation
Show all versions of kuali-deploy Show documentation
Project containing deployment logic for Kuali applications
The newest version!
package org.kuali.common.deploy.env.model;
import org.kuali.common.deploy.dns.model.DnsContext;
import org.kuali.common.util.Assert;
public final class DeployEnvironment {
public DeployEnvironment(String groupId, int id, String name, DnsContext dns) {
Assert.noBlanks(groupId, name);
Assert.noNulls(dns);
Assert.isTrue(id > 0, "id must be a positive integer");
this.id = id;
this.groupId = groupId;
this.name = name;
this.dns = dns;
}
private final int id;
private final String groupId;
private final String name;
private final DnsContext dns;
public int getId() {
return id;
}
public String getGroupId() {
return groupId;
}
public String getName() {
return name;
}
public DnsContext getDns() {
return dns;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy