public class ArtifactLinkPredicates extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isAvailableLocally(ArtifactLink artifactLink) |
static com.google.common.base.Predicate<ArtifactLink> |
isLabelEqual(String label)
Get a predicate that returns true for ArtifactLink object with equal label.
|
static boolean |
isNotSharedArtifact(ArtifactLink artifactLink) |
static com.google.common.base.Predicate<ArtifactLink> |
isOrphanedArtifact()
Deprecated.
since 5.10, use
isOrphanedArtifact(ArtifactLink) as method reference |
static boolean |
isOrphanedArtifact(ArtifactLink artifactLink) |
static com.google.common.base.Predicate<ArtifactLink> |
isSharedArtifact()
Deprecated.
since 5.10, use
isSharedArtifact(ArtifactLink) as method reference |
static boolean |
isSharedArtifact(ArtifactLink artifactLink) |
public static boolean isSharedArtifact(ArtifactLink artifactLink)
public static boolean isNotSharedArtifact(ArtifactLink artifactLink)
public static boolean isOrphanedArtifact(ArtifactLink artifactLink)
public static boolean isAvailableLocally(ArtifactLink artifactLink)
@Deprecated public static com.google.common.base.Predicate<ArtifactLink> isSharedArtifact()
isSharedArtifact(ArtifactLink)
as method referenceNullPointerException
- when it operates on a null element@Deprecated public static com.google.common.base.Predicate<ArtifactLink> isOrphanedArtifact()
isOrphanedArtifact(ArtifactLink)
as method referenceNullPointerException
- when it operates on a null elementpublic static com.google.common.base.Predicate<ArtifactLink> isLabelEqual(@NotNull String label)
NullPointerException
- when it operates on a null elementCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.