Class BambooArtifactHttpTransport
java.lang.Object
com.atlassian.bamboo.build.artifact.BambooArtifactHttpTransport
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArtifactDefinitionContext
artifactDefinitionfromJson
(String artifactJson) static ArtifactData
artifactFromJson
(Reader artifactJson) publish
(@NotNull org.apache.tools.ant.types.FileSet sourceFileSet, ResultKey resultKey, ArtifactDefinitionContext artifact, String artifactDescription, @NotNull BuildLogger buildLogger) retrieve
(ArtifactData artifactData, Path destinationPath, SecureToken authenticationToken, Function<ArtifactUnpackResult, ArtifactRetrievalStatus> successFactory) static String
toJson
(ArtifactData artifactData) static String
toJson
(ArtifactDefinitionContext artifact)
-
Field Details
-
HEADER_CONTENT_DESCRIPTION
- See Also:
-
RESULT_KEY
- See Also:
-
ENTITY_TYPE
- See Also:
-
HEADER_AUTHENTICATION_TOKEN
- See Also:
-
-
Constructor Details
-
BambooArtifactHttpTransport
-
-
Method Details
-
publish
public ArtifactHandlerPublishingResult publish(@NotNull @NotNull org.apache.tools.ant.types.FileSet sourceFileSet, ResultKey resultKey, ArtifactDefinitionContext artifact, String artifactDescription, @NotNull @NotNull BuildLogger buildLogger) -
retrieve
public ArtifactRetrievalStatus retrieve(ArtifactData artifactData, Path destinationPath, SecureToken authenticationToken, Function<ArtifactUnpackResult, ArtifactRetrievalStatus> successFactory) -
toJson
-
toJson
-
artifactDefinitionfromJson
-
artifactFromJson
-