org.apache.maven.artifact.repository.metadata
Class MetadataBridge
java.lang.Object
org.eclipse.aether.metadata.AbstractMetadata
org.apache.maven.artifact.repository.metadata.MetadataBridge
- All Implemented Interfaces:
- org.eclipse.aether.metadata.MergeableMetadata, org.eclipse.aether.metadata.Metadata
public final class MetadataBridge
- extends org.eclipse.aether.metadata.AbstractMetadata
- implements org.eclipse.aether.metadata.MergeableMetadata
Warning: This is an internal utility class that is only public for technical reasons, it is not part
of the public API. In particular, this class can be changed or deleted without prior notice.
- Author:
- Benjamin Bentmann
Nested classes/interfaces inherited from interface org.eclipse.aether.metadata.Metadata |
org.eclipse.aether.metadata.Metadata.Nature |
Methods inherited from class org.eclipse.aether.metadata.AbstractMetadata |
copyProperties, equals, getProperty, hashCode, toString |
Methods inherited from interface org.eclipse.aether.metadata.Metadata |
getProperty |
MetadataBridge
public MetadataBridge(ArtifactMetadata metadata)
merge
public void merge(File current,
File result)
throws org.eclipse.aether.RepositoryException
- Specified by:
merge
in interface org.eclipse.aether.metadata.MergeableMetadata
- Throws:
org.eclipse.aether.RepositoryException
isMerged
public boolean isMerged()
- Specified by:
isMerged
in interface org.eclipse.aether.metadata.MergeableMetadata
getGroupId
public String getGroupId()
- Specified by:
getGroupId
in interface org.eclipse.aether.metadata.Metadata
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId
in interface org.eclipse.aether.metadata.Metadata
getVersion
public String getVersion()
- Specified by:
getVersion
in interface org.eclipse.aether.metadata.Metadata
getType
public String getType()
- Specified by:
getType
in interface org.eclipse.aether.metadata.Metadata
getFile
public File getFile()
- Specified by:
getFile
in interface org.eclipse.aether.metadata.Metadata
setFile
public MetadataBridge setFile(File file)
- Specified by:
setFile
in interface org.eclipse.aether.metadata.Metadata
- Overrides:
setFile
in class org.eclipse.aether.metadata.AbstractMetadata
getNature
public org.eclipse.aether.metadata.Metadata.Nature getNature()
- Specified by:
getNature
in interface org.eclipse.aether.metadata.Metadata
getProperties
public Map<String,String> getProperties()
- Specified by:
getProperties
in interface org.eclipse.aether.metadata.Metadata
setProperties
public org.eclipse.aether.metadata.Metadata setProperties(Map<String,String> properties)
- Specified by:
setProperties
in interface org.eclipse.aether.metadata.Metadata
- Overrides:
setProperties
in class org.eclipse.aether.metadata.AbstractMetadata
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.