public interface MergeableMetadata extends Metadata
Metadata.Nature
Modifier and Type | Method and Description |
---|---|
boolean |
isMerged()
Indicates whether this metadata has been merged.
|
void |
merge(File current,
File result)
Merges this metadata into the current metadata (if any).
|
getArtifactId, getFile, getGroupId, getNature, getProperties, getProperty, getType, getVersion, setFile, setProperties
void merge(File current, File result) throws RepositoryException
current
- The path to the current metadata file, may not exist but must not be null
.result
- The path to the result file where the merged metadata should be stored, must not be null
.RepositoryException
- If the metadata could not be merged.boolean isMerged()
true
if the metadata has been merged, false
otherwise.Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.