Class ArtifactPublishingResultImpl
- java.lang.Object
-
- com.atlassian.bamboo.plan.artifact.ArtifactPublishingResultImpl
-
- All Implemented Interfaces:
ArtifactPublishingResult
public class ArtifactPublishingResultImpl extends Object implements ArtifactPublishingResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArtifactPublishingResultImpl
failure(ArtifactDefinitionContext artifact, String failureReason, Set<ArtifactHandlerPublishingResult> successfulPublishers, Set<ArtifactHandlerPublishingResult> failedPublishers)
@NotNull ArtifactDefinitionContext
getArtifactDefinitionContext()
@NotNull Set<ArtifactHandlerPublishingResult>
getFailedPublishingResults()
String
getFailureReason()
@NotNull Set<ArtifactHandlerPublishingResult>
getSuccessfulPublishingResults()
boolean
needsRetry()
boolean
shouldContinueBuild()
static ArtifactPublishingResult
success(ArtifactDefinitionContext artifact, Set<ArtifactHandlerPublishingResult> successfulPublishers)
-
-
-
Method Detail
-
getSuccessfulPublishingResults
@NotNull public @NotNull Set<ArtifactHandlerPublishingResult> getSuccessfulPublishingResults()
- Specified by:
getSuccessfulPublishingResults
in interfaceArtifactPublishingResult
-
shouldContinueBuild
public boolean shouldContinueBuild()
- Specified by:
shouldContinueBuild
in interfaceArtifactPublishingResult
-
needsRetry
public boolean needsRetry()
- Specified by:
needsRetry
in interfaceArtifactPublishingResult
-
getArtifactDefinitionContext
@NotNull public @NotNull ArtifactDefinitionContext getArtifactDefinitionContext()
- Specified by:
getArtifactDefinitionContext
in interfaceArtifactPublishingResult
-
getFailedPublishingResults
@NotNull public @NotNull Set<ArtifactHandlerPublishingResult> getFailedPublishingResults()
- Specified by:
getFailedPublishingResults
in interfaceArtifactPublishingResult
-
getFailureReason
public String getFailureReason()
-
failure
public static ArtifactPublishingResultImpl failure(ArtifactDefinitionContext artifact, String failureReason, Set<ArtifactHandlerPublishingResult> successfulPublishers, Set<ArtifactHandlerPublishingResult> failedPublishers)
-
success
public static ArtifactPublishingResult success(ArtifactDefinitionContext artifact, Set<ArtifactHandlerPublishingResult> successfulPublishers)
-
-