Class RemoteArtifactManager

java.lang.Object
com.atlassian.bamboo.build.artifact.AbstractArtifactManager
com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager
All Implemented Interfaces:
ArtifactManager

public class RemoteArtifactManager extends AbstractArtifactManager
  • Constructor Details

  • Method Details

    • removeOrphanedArtifacts

      public boolean removeOrphanedArtifacts()
      Returns:
      true if something was removed
    • removeArtifactsIfOrphaned

      public boolean removeArtifactsIfOrphaned(@NotNull @NotNull List<Long> artifactIds)
      Description copied from interface: ArtifactManager
      Removes 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:
      markSubscriptionAsConsumed in class AbstractArtifactManager