Class ArtifactLinkPredicates
java.lang.Object
com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisAvailableLocally(ArtifactLink artifactLink) static Predicate<ArtifactLink>isLabelEqual(@NotNull String label) Get a predicate that returns true for ArtifactLink object with equal label.static booleanisNotSharedArtifact(ArtifactLink artifactLink) static booleanisOrphanedArtifact(ArtifactLink artifactLink) static booleanisSharedArtifact(ArtifactLink artifactLink)
-
Method Details
-
isOrphanedArtifact
- Returns:
- true if producer build for an ArtifactLink has been deleted
-
isAvailableLocally
- Returns:
- true if artifact is available locally on the server
-
isLabelEqual
Get a predicate that returns true for ArtifactLink object with equal label.- Returns:
- Predicate object
- Throws:
NullPointerException- when it operates on a null element