public final class MetadataBridge
extends org.eclipse.aether.metadata.AbstractMetadata
implements org.eclipse.aether.metadata.MergeableMetadata
Constructor and Description |
---|
MetadataBridge(ArtifactMetadata metadata) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId() |
File |
getFile() |
String |
getGroupId() |
org.eclipse.aether.metadata.Metadata.Nature |
getNature() |
Map<String,String> |
getProperties() |
String |
getType() |
String |
getVersion() |
boolean |
isMerged() |
void |
merge(File current,
File result) |
MetadataBridge |
setFile(File file) |
org.eclipse.aether.metadata.Metadata |
setProperties(Map<String,String> properties) |
copyProperties, equals, getProperty, hashCode, toString
public MetadataBridge(ArtifactMetadata metadata)
public void merge(File current, File result) throws org.eclipse.aether.RepositoryException
merge
in interface org.eclipse.aether.metadata.MergeableMetadata
org.eclipse.aether.RepositoryException
public boolean isMerged()
isMerged
in interface org.eclipse.aether.metadata.MergeableMetadata
public String getGroupId()
getGroupId
in interface org.eclipse.aether.metadata.Metadata
public String getArtifactId()
getArtifactId
in interface org.eclipse.aether.metadata.Metadata
public String getVersion()
getVersion
in interface org.eclipse.aether.metadata.Metadata
public String getType()
getType
in interface org.eclipse.aether.metadata.Metadata
public File getFile()
getFile
in interface org.eclipse.aether.metadata.Metadata
public MetadataBridge setFile(File file)
setFile
in interface org.eclipse.aether.metadata.Metadata
setFile
in class org.eclipse.aether.metadata.AbstractMetadata
public org.eclipse.aether.metadata.Metadata.Nature getNature()
getNature
in interface org.eclipse.aether.metadata.Metadata
public Map<String,String> getProperties()
getProperties
in interface org.eclipse.aether.metadata.Metadata
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.