Modifier and Type | Method and Description |
---|---|
void |
add(Artifact artifact)
Adds an artifacts
|
void |
addAll(ArtifactSet artifacts)
Adds a set of artifacts
|
void |
addAll(java.util.Collection<? extends Artifact> artifacts)
Adds a collection of artifacts
|
ItemFilterSet |
getCoverage()
Returns the item filter set that defines the coverage of the items in
this artifact set.
|
Artifact |
getDirectory()
Returns the directory artifact or
null . |
Artifact |
getPrimaryData()
Returns the primary data artifact or
null . |
boolean |
isEmpty()
Checks if this set is empty.
|
java.util.Collection<Artifact> |
removed()
Returns the collection of removed artifacts
|
int |
size()
Returns the number of artifacts in this set.
|
java.util.Collection<Artifact> |
values()
Returns a collection of all artifacts
|
java.util.Collection<Artifact> |
values(ArtifactType type)
Returns a collection of all artifacts that have the given type.
|
ItemFilterSet getCoverage()
void addAll(java.util.Collection<? extends Artifact> artifacts)
artifacts
- the artifacts collectionvoid addAll(ArtifactSet artifacts)
artifacts
- the artifacts setvoid add(Artifact artifact)
artifact
- the artifact to addjava.lang.IllegalArgumentException
- if more than 1 primary data artifact is addedArtifact getPrimaryData()
null
.null
.Artifact getDirectory()
null
.null
.boolean isEmpty()
true
if this set is empty.int size()
java.util.Collection<Artifact> values(ArtifactType type)
type
- the type of the artifacts to returnjava.util.Collection<Artifact> values()
java.util.Collection<Artifact> removed()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"