com.hubspot.singularity.helpers.SingularityRequestDeployHolder Maven / Gradle / Ivy
package com.hubspot.singularity.helpers;
import com.google.common.base.Optional;
import com.hubspot.singularity.SingularityDeploy;
public class SingularityRequestDeployHolder {
private final Optional activeDeploy;
private final Optional pendingDeploy;
public SingularityRequestDeployHolder(Optional activeDeploy, Optional pendingDeploy) {
this.activeDeploy = activeDeploy;
this.pendingDeploy = pendingDeploy;
}
public Optional getActiveDeploy() {
return activeDeploy;
}
public Optional getPendingDeploy() {
return pendingDeploy;
}
}