public interface ModifiableArtifactModel extends ArtifactModel
Modifier and Type | Method and Description |
---|---|
ModifiableArtifact |
addArtifact(java.lang.String name,
ArtifactType artifactType) |
ModifiableArtifact |
addArtifact(java.lang.String name,
ArtifactType artifactType,
CompositePackagingElement<?> rootElement) |
ModifiableArtifact |
addArtifact(java.lang.String name,
ArtifactType artifactType,
CompositePackagingElement<?> rootElement,
ProjectModelExternalSource externalSource) |
void |
addListener(ArtifactListener listener) |
void |
commit() |
void |
dispose() |
Artifact |
getModifiableCopy(Artifact artifact) |
ModifiableArtifact |
getOrCreateModifiableArtifact(Artifact artifact) |
boolean |
isModified() |
void |
removeArtifact(Artifact artifact) |
void |
removeListener(ArtifactListener listener) |
findArtifact, getAllArtifactsIncludingInvalid, getArtifactByOriginal, getArtifacts, getArtifactsByType, getOriginalArtifact
ModifiableArtifact addArtifact(java.lang.String name, ArtifactType artifactType)
ModifiableArtifact addArtifact(java.lang.String name, ArtifactType artifactType, CompositePackagingElement<?> rootElement)
ModifiableArtifact addArtifact(java.lang.String name, ArtifactType artifactType, CompositePackagingElement<?> rootElement, ProjectModelExternalSource externalSource)
void removeArtifact(Artifact artifact)
ModifiableArtifact getOrCreateModifiableArtifact(Artifact artifact)
void addListener(ArtifactListener listener)
void removeListener(ArtifactListener listener)
boolean isModified()
void commit()
void dispose()