Class ArtifactHandlerPublishingResultImpl
java.lang.Object
com.atlassian.bamboo.build.artifact.ArtifactHandlerPublishingResultImpl
- All Implemented Interfaces:
ArtifactHandlerPublishingResult
public class ArtifactHandlerPublishingResultImpl
extends Object
implements ArtifactHandlerPublishingResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.build.artifact.ArtifactHandlerPublishingResult
ArtifactHandlerPublishingResult.Status -
Method Summary
Modifier and TypeMethodDescriptiondefer()failure()fromSuccessFlag(boolean isSuccessful) fromSuccessFlag(boolean isSuccessful, @NotNull Supplier<Pair<Integer, Long>> uploadStatsSupplier) @Nullable StringReturns archive name if artifact has been compressed by automatic archive creation, null otherwise.@NotNull ArchiverType@NotNull String@Nullable IntegerbooleanvoidsetArchiveName(@Nullable String archiveName) voidsetArchiverType(@NotNull ArchiverType archiverType) voidsetArtifactHandlerKey(@NotNull String completeKey) toString()
-
Method Details
-
isSuccessful
public boolean isSuccessful()- Specified by:
isSuccessfulin interfaceArtifactHandlerPublishingResult
-
getStatus
- Specified by:
getStatusin interfaceArtifactHandlerPublishingResult
-
getTotalUploadedSize
- Specified by:
getTotalUploadedSizein interfaceArtifactHandlerPublishingResult
-
getTotalUploadedCount
- Specified by:
getTotalUploadedCountin interfaceArtifactHandlerPublishingResult
-
setArtifactHandlerKey
- Specified by:
setArtifactHandlerKeyin interfaceArtifactHandlerPublishingResult
-
getArtifactHandlerKey
- Specified by:
getArtifactHandlerKeyin interfaceArtifactHandlerPublishingResult
-
getArchiverType
- Specified by:
getArchiverTypein interfaceArtifactHandlerPublishingResult
-
setArchiverType
- Specified by:
setArchiverTypein interfaceArtifactHandlerPublishingResult
-
getArchiveName
Description copied from interface:ArtifactHandlerPublishingResultReturns archive name if artifact has been compressed by automatic archive creation, null otherwise.- Specified by:
getArchiveNamein interfaceArtifactHandlerPublishingResult
-
setArchiveName
- Specified by:
setArchiveNamein interfaceArtifactHandlerPublishingResult
-
failure
-
success
public static ArtifactHandlerPublishingResult success(@Nullable @Nullable Integer totalUploadedCnt, @Nullable @Nullable Long totalUploadedSize) -
defer
-
fromSuccessFlag
-
fromSuccessFlag
public static ArtifactHandlerPublishingResult fromSuccessFlag(boolean isSuccessful, @NotNull @NotNull Supplier<Pair<Integer, Long>> uploadStatsSupplier) -
toString
-