Package org.eclipse.aether.metadata
Interface MergeableMetadata
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.aether.metadata.Metadata
Metadata.Nature
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisMerged()Indicates whether this metadata has been merged.voidmerge(java.io.File current, java.io.File result)Merges this metadata into the current metadata (if any).-
Methods inherited from interface org.eclipse.aether.metadata.Metadata
getArtifactId, getFile, getGroupId, getNature, getProperties, getProperty, getType, getVersion, setFile, setProperties
-
-
-
-
Method Detail
-
merge
void merge(java.io.File current, java.io.File result) throws RepositoryExceptionMerges 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 benull.result- The path to the result file where the merged metadata should be stored, must not benull.- Throws:
RepositoryException- If the metadata could not be merged.
-
isMerged
boolean isMerged()
Indicates whether this metadata has been merged.- Returns:
trueif the metadata has been merged,falseotherwise.
-
-