org.sonatype.aether.util.metadata
Class DefaultMetadata
java.lang.Object
org.sonatype.aether.util.metadata.DefaultMetadata
- All Implemented Interfaces:
- Metadata
public final class DefaultMetadata
- extends Object
- implements Metadata
A basic metadata instance.
- Author:
- Benjamin Bentmann
|
Constructor Summary |
DefaultMetadata(String type,
Metadata.Nature nature)
|
DefaultMetadata(String groupId,
String type,
Metadata.Nature nature)
|
DefaultMetadata(String groupId,
String artifactId,
String type,
Metadata.Nature nature)
|
DefaultMetadata(String groupId,
String artifactId,
String version,
String type,
Metadata.Nature nature)
|
DefaultMetadata(String groupId,
String artifactId,
String version,
String type,
Metadata.Nature nature,
File file)
|
DefaultMetadata
public DefaultMetadata(String type,
Metadata.Nature nature)
DefaultMetadata
public DefaultMetadata(String groupId,
String type,
Metadata.Nature nature)
DefaultMetadata
public DefaultMetadata(String groupId,
String artifactId,
String type,
Metadata.Nature nature)
DefaultMetadata
public DefaultMetadata(String groupId,
String artifactId,
String version,
String type,
Metadata.Nature nature)
DefaultMetadata
public DefaultMetadata(String groupId,
String artifactId,
String version,
String type,
Metadata.Nature nature,
File file)
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
getNature
public Metadata.Nature getNature()
- Specified by:
getNature in interface Metadata
getFile
public File getFile()
- Specified by:
getFile in interface Metadata
setFile
public Metadata setFile(File file)
- Specified by:
setFile in interface Metadata
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.