org.apache.maven.artifact.repository.metadata
Class MetadataBridge
java.lang.Object
   org.apache.maven.artifact.repository.metadata.MetadataBridge
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:
- mergein interface- org.sonatype.aether.metadata.MergeableMetadata
 
- 
- Throws:
- org.sonatype.aether.RepositoryException
 
isMerged
public boolean isMerged()
- 
- Specified by:
- isMergedin interface- org.sonatype.aether.metadata.MergeableMetadata
 
- 
 
getGroupId
public String getGroupId()
- 
- Specified by:
- getGroupIdin interface- org.sonatype.aether.metadata.Metadata
 
- 
 
getArtifactId
public String getArtifactId()
- 
- Specified by:
- getArtifactIdin interface- org.sonatype.aether.metadata.Metadata
 
- 
 
getVersion
public String getVersion()
- 
- Specified by:
- getVersionin interface- org.sonatype.aether.metadata.Metadata
 
- 
 
getType
public String getType()
- 
- Specified by:
- getTypein interface- org.sonatype.aether.metadata.Metadata
 
- 
 
getFile
public File getFile()
- 
- Specified by:
- getFilein interface- org.sonatype.aether.metadata.Metadata
 
- 
 
setFile
public MetadataBridge setFile(File file)
- 
- Specified by:
- setFilein interface- org.sonatype.aether.metadata.Metadata
 
- 
 
getNature
public org.sonatype.aether.metadata.Metadata.Nature getNature()
- 
- Specified by:
- getNaturein interface- org.sonatype.aether.metadata.Metadata
 
- 
 
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.