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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProperty
public MetadataBridge(ArtifactMetadata metadata)
public void merge(File current, File result) throws RepositoryException
merge
in interface MergeableMetadata
RepositoryException
public boolean isMerged()
isMerged
in interface MergeableMetadata
public String getGroupId()
getGroupId
in interface Metadata
public String getArtifactId()
getArtifactId
in interface Metadata
public String getVersion()
getVersion
in interface Metadata
public MetadataBridge setFile(File file)
setFile
in interface Metadata
setFile
in class AbstractMetadata
public Metadata.Nature getNature()
public Map<String,String> getProperties()
getProperties
in interface Metadata
public Metadata setProperties(Map<String,String> properties)
setProperties
in interface Metadata
setProperties
in class AbstractMetadata
Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.