org.apache.maven.artifact.repository.metadata
Class MetadataBridge
java.lang.Object
org.apache.maven.artifact.repository.metadata.MetadataBridge
- All Implemented Interfaces:
- org.sonatype.aether.metadata.MergeableMetadata, org.sonatype.aether.metadata.Metadata
public final class MetadataBridge
- extends Object
- implements org.sonatype.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.sonatype.aether.metadata.Metadata |
org.sonatype.aether.metadata.Metadata.Nature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataBridge
public MetadataBridge(ArtifactMetadata metadata)
merge
public void merge(File current,
File result)
throws org.sonatype.aether.RepositoryException
- Specified by:
merge
in interface org.sonatype.aether.metadata.MergeableMetadata
- Throws:
org.sonatype.aether.RepositoryException
isMerged
public boolean isMerged()
- Specified by:
isMerged
in interface org.sonatype.aether.metadata.MergeableMetadata
getGroupId
public String getGroupId()
- Specified by:
getGroupId
in interface org.sonatype.aether.metadata.Metadata
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId
in interface org.sonatype.aether.metadata.Metadata
getVersion
public String getVersion()
- Specified by:
getVersion
in interface org.sonatype.aether.metadata.Metadata
getType
public String getType()
- Specified by:
getType
in interface org.sonatype.aether.metadata.Metadata
getFile
public File getFile()
- Specified by:
getFile
in interface org.sonatype.aether.metadata.Metadata
setFile
public MetadataBridge setFile(File file)
- Specified by:
setFile
in interface org.sonatype.aether.metadata.Metadata
getNature
public org.sonatype.aether.metadata.Metadata.Nature getNature()
- Specified by:
getNature
in interface org.sonatype.aether.metadata.Metadata
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.