Interface ArtifactSet

  • All Superinterfaces:
    Dumpable

    public interface ArtifactSet
    extends Dumpable
    ArtifactSet...
    • Method Detail

      • getCoverage

        ItemFilterSet getCoverage()
        Returns the item filter set that defines the coverage of the items in this artifact set.
        Returns:
        the item filter set.
      • addAll

        void addAll​(java.util.Collection<? extends Artifact> artifacts)
        Adds a collection of artifacts
        Parameters:
        artifacts - the artifacts collection
      • addAll

        void addAll​(ArtifactSet artifacts)
        Adds a set of artifacts
        Parameters:
        artifacts - the artifacts set
      • add

        void add​(Artifact artifact)
        Adds an artifacts
        Parameters:
        artifact - the artifact to add
        Throws:
        java.lang.IllegalArgumentException - if more than 1 primary data artifact is added
      • getPrimaryData

        Artifact getPrimaryData()
        Returns the primary data artifact or null.
        Returns:
        the primary data artifact or null.
      • getDirectory

        Artifact getDirectory()
        Returns the directory artifact or null.
        Returns:
        the directory artifact or null.
      • isEmpty

        boolean isEmpty()
        Checks if this set is empty.
        Returns:
        true if this set is empty.
      • size

        int size()
        Returns the number of artifacts in this set.
        Returns:
        the number of artifacts in this set.
      • values

        java.util.Collection<Artifact> values​(ArtifactType type)
        Returns a collection of all artifacts that have the given type.
        Parameters:
        type - the type of the artifacts to return
        Returns:
        the artifacts
      • values

        java.util.Collection<Artifact> values()
        Returns a collection of all artifacts
        Returns:
        the artifacts
      • removed

        java.util.Collection<Artifact> removed()
        Returns the collection of removed artifacts
        Returns:
        the removed artifacts