Class ArtifactPublishingResultImpl
java.lang.Object
com.atlassian.bamboo.plan.artifact.ArtifactPublishingResultImpl
- All Implemented Interfaces:
ArtifactPublishingResult
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactPublishingResultImpl
failure
(ArtifactDefinitionContext artifact, String failureReason, Set<ArtifactHandlerPublishingResult> successfulPublishers, Set<ArtifactHandlerPublishingResult> failedPublishers) @NotNull ArtifactDefinitionContext
@NotNull Set<ArtifactHandlerPublishingResult>
@NotNull Set<ArtifactHandlerPublishingResult>
boolean
boolean
static ArtifactPublishingResult
success
(ArtifactDefinitionContext artifact, Set<ArtifactHandlerPublishingResult> successfulPublishers)
-
Method Details
-
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
- Specified by:
getArtifactDefinitionContext
in interfaceArtifactPublishingResult
-
getFailedPublishingResults
- Specified by:
getFailedPublishingResults
in interfaceArtifactPublishingResult
-
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)
-