Package org.eclipse.aether.metadata
Interface MergeableMetadata
- All Superinterfaces:
- Metadata
A piece of metadata that needs to be merged with any current metadata before installation/deployment.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.aether.metadata.MetadataMetadata.Nature
- 
Method SummaryMethods inherited from interface org.eclipse.aether.metadata.MetadatagetArtifactId, getFile, getGroupId, getNature, getPath, getProperties, getProperty, getType, getVersion, setFile, setPath, setProperties
- 
Method Details- 
mergeDeprecated.Usemerge(Path, Path)instead.Merges this metadata into the current metadata (if any). Note that this method will be invoked regardless whether metadata currently exists or not.- Parameters:
- 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.
- Throws:
- RepositoryException- If the metadata could not be merged.
 
- 
mergeMerges this metadata into the current metadata (if any). Note that this method will be invoked regardless whether metadata currently exists or not.- Parameters:
- 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.
- Throws:
- RepositoryException- If the metadata could not be merged.
- Since:
- 2.0.0
 
- 
isMergedboolean isMerged()Indicates whether this metadata has been merged.- Returns:
- trueif the metadata has been merged,- falseotherwise.
 
 
- 
merge(Path, Path)instead.