Class ArtifactLinkPredicates
java.lang.Object
com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isAvailableLocally
(ArtifactLink artifactLink) static Predicate<ArtifactLink>
isLabelEqual
(@NotNull String label) Get a predicate that returns true for ArtifactLink object with equal label.static boolean
isNotSharedArtifact
(ArtifactLink artifactLink) static boolean
isOrphanedArtifact
(ArtifactLink artifactLink) static boolean
isSharedArtifact
(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