org.apache.maven.artifact.repository.metadata
Class MetadataBridge
java.lang.Object
org.apache.maven.artifact.repository.metadata.MetadataBridge
- All Implemented Interfaces:
- MergeableMetadata, Metadata
public final class MetadataBridge
- extends Object
- implements 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
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 RepositoryException
- Specified by:
merge
in interface MergeableMetadata
- Throws:
RepositoryException
isMerged
public boolean isMerged()
- Specified by:
isMerged
in interface MergeableMetadata
getGroupId
public String getGroupId()
- Specified by:
getGroupId
in interface Metadata
getArtifactId
public String getArtifactId()
- Specified by:
getArtifactId
in interface Metadata
getVersion
public String getVersion()
- Specified by:
getVersion
in interface Metadata
getType
public String getType()
- Specified by:
getType
in interface Metadata
getFile
public File getFile()
- Specified by:
getFile
in interface Metadata
setFile
public MetadataBridge setFile(File file)
- Specified by:
setFile
in interface Metadata
getNature
public Metadata.Nature getNature()
- Specified by:
getNature
in interface Metadata
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.