com.hubspot.singularity.helpers.SingularityRequestDeployHolder Maven / Gradle / Ivy
package com.hubspot.singularity.helpers;
import com.hubspot.singularity.SingularityDeploy;
import java.util.Optional;
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;
}
}