public final class MetadataBridge extends AbstractMetadata implements MergeableMetadata
Metadata.Nature| Constructor and Description |
|---|
MetadataBridge(ArtifactMetadata metadata) |
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId() |
File |
getFile() |
String |
getGroupId() |
Metadata.Nature |
getNature() |
Map<String,String> |
getProperties() |
String |
getType() |
String |
getVersion() |
boolean |
isMerged() |
void |
merge(File current,
File result) |
MetadataBridge |
setFile(File file) |
Metadata |
setProperties(Map<String,String> properties) |
copyProperties, equals, getProperty, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertypublic MetadataBridge(ArtifactMetadata metadata)
public void merge(File current, File result) throws RepositoryException
merge in interface MergeableMetadataRepositoryExceptionpublic boolean isMerged()
isMerged in interface MergeableMetadatapublic String getGroupId()
getGroupId in interface Metadatapublic String getArtifactId()
getArtifactId in interface Metadatapublic String getVersion()
getVersion in interface Metadatapublic MetadataBridge setFile(File file)
setFile in interface MetadatasetFile in class AbstractMetadatapublic Metadata.Nature getNature()
public Map<String,String> getProperties()
getProperties in interface Metadatapublic Metadata setProperties(Map<String,String> properties)
setProperties in interface MetadatasetProperties in class AbstractMetadataCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.