
pl.allegro.tech.build.axion.release.domain.scm.ScmPushResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of axion-release-plugin Show documentation
Show all versions of axion-release-plugin Show documentation
Gradle release and version management plugin
The newest version!
package pl.allegro.tech.build.axion.release.domain.scm;
import org.eclipse.jgit.transport.RemoteRefUpdate;
import java.util.Optional;
public class ScmPushResult {
private final ScmPushResultOutcome outcome;
private final Optional failureCause;
private final Optional remoteMessage;
public ScmPushResult(ScmPushResultOutcome outcome,
Optional failureCause,
Optional remoteMessage) {
this.outcome = outcome;
this.failureCause = failureCause;
this.remoteMessage = remoteMessage;
}
public ScmPushResultOutcome getOutcome() {
return outcome;
}
public Optional getFailureStatus() {
return failureCause;
}
public Optional getRemoteMessage() {
return remoteMessage;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy