com.atlassian.bamboo.build.artifact
Class ArtifactLinkPredicates

java.lang.Object
  extended by com.atlassian.bamboo.build.artifact.ArtifactLinkPredicates

public class ArtifactLinkPredicates
extends java.lang.Object


Constructor Summary
ArtifactLinkPredicates()
           
 
Method Summary
static com.google.common.base.Predicate<ArtifactLink> isExists()
          Get a predicate that returns true for ArtifactLinks objects that exist in the filesystem.
static com.google.common.base.Predicate<ArtifactLink> isOrphanedArtifact()
          Get a predicate that returns true for ArtifactLink object of which producing build has been deleted.
static com.google.common.base.Predicate<ArtifactLink> isSharedArtifact()
          Get a predicate that returns true for ArtifactLink object that were produced for "shared" ArtifactDefinitions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactLinkPredicates

public ArtifactLinkPredicates()
Method Detail

isExists

public static com.google.common.base.Predicate<ArtifactLink> isExists()
Get a predicate that returns true for ArtifactLinks objects that exist in the filesystem.

Returns:
Predicate object
Throws:
java.lang.NullPointerException - when it operates on a null element

isSharedArtifact

public static com.google.common.base.Predicate<ArtifactLink> isSharedArtifact()
Get a predicate that returns true for ArtifactLink object that were produced for "shared" ArtifactDefinitions.

Returns:
Predicate object
Throws:
java.lang.NullPointerException - when it operates on a null element

isOrphanedArtifact

public static com.google.common.base.Predicate<ArtifactLink> isOrphanedArtifact()
Get a predicate that returns true for ArtifactLink object of which producing build has been deleted.

Returns:
Predicate object
Throws:
java.lang.NullPointerException - when it operates on a null element


Copyright © 2011 Atlassian. All Rights Reserved.