Class RemoteArtifactManager
java.lang.Object
com.atlassian.bamboo.build.artifact.AbstractArtifactManager
com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager
- All Implemented Interfaces:
ArtifactManager
-
Field Summary
Fields inherited from class com.atlassian.bamboo.build.artifact.AbstractArtifactManager
ARTIFACT_SECURITY_TOKENFields inherited from interface com.atlassian.bamboo.build.artifact.ArtifactManager
LOGS_FOR_BUILD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidmarkSubscriptionAsConsumed(PlanResultKey planResultKey, ArtifactSubscriptionContext artifactSubscription, String artifactLinkType) booleanremoveArtifactsIfOrphaned(@NotNull List<Long> artifactIds) Removes artifacts identified by the ids on the list, but only if they are not referenced by any deployment version or build result.booleanMethods inherited from class com.atlassian.bamboo.build.artifact.AbstractArtifactManager
findMatchingArtifact, getArtifactHandlers, getArtifactHandlersForAgent, moveArtifactToGlobalStorage, publish, publish, removeAllArtifactsOfChain, removeArtifactFromStorage, removeArtifactsFromStorage, removeArtifactsFromStorage, removeArtifactsFromStorage, republish, retrieve, retrieve, validateArtifactsSize
-
Constructor Details
-
RemoteArtifactManager
-
-
Method Details
-
removeOrphanedArtifacts
public boolean removeOrphanedArtifacts()- Returns:
- true if something was removed
-
removeArtifactsIfOrphaned
Description copied from interface:ArtifactManagerRemoves artifacts identified by the ids on the list, but only if they are not referenced by any deployment version or build result.- Returns:
- true if anything was removed
-
markSubscriptionAsConsumed
protected void markSubscriptionAsConsumed(PlanResultKey planResultKey, ArtifactSubscriptionContext artifactSubscription, String artifactLinkType) - Specified by:
markSubscriptionAsConsumedin classAbstractArtifactManager
-