public abstract class ArtifactModelBase extends java.lang.Object implements ArtifactModel
Modifier and Type | Field and Description |
---|---|
static Condition<Artifact> |
VALID_ARTIFACT_CONDITION |
Constructor and Description |
---|
ArtifactModelBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
artifactsChanged() |
Artifact |
findArtifact(java.lang.String name) |
java.util.List<? extends Artifact> |
getAllArtifactsIncludingInvalid() |
Artifact |
getArtifactByOriginal(Artifact artifact) |
Artifact [] |
getArtifacts() |
java.util.Collection<? extends Artifact> |
getArtifactsByType(ArtifactType type) |
protected abstract java.util.List<? extends Artifact> |
getArtifactsList() |
Artifact |
getOriginalArtifact(Artifact artifact) |
protected abstract java.util.List<? extends Artifact> getArtifactsList()
public Artifact [] getArtifacts()
getArtifacts
in interface ArtifactModel
public java.util.List<? extends Artifact> getAllArtifactsIncludingInvalid()
getAllArtifactsIncludingInvalid
in interface ArtifactModel
public Artifact findArtifact(java.lang.String name)
findArtifact
in interface ArtifactModel
public Artifact getArtifactByOriginal(Artifact artifact)
getArtifactByOriginal
in interface ArtifactModel
public Artifact getOriginalArtifact(Artifact artifact)
getOriginalArtifact
in interface ArtifactModel
public java.util.Collection<? extends Artifact> getArtifactsByType(ArtifactType type)
getArtifactsByType
in interface ArtifactModel
protected void artifactsChanged()