Metadata.Nature| Constructor and Description |
|---|
StubMetadata(String type,
Metadata.Nature nature) |
StubMetadata(String groupId,
String type,
Metadata.Nature nature) |
StubMetadata(String groupId,
String artifactId,
String type,
Metadata.Nature nature) |
StubMetadata(String groupId,
String artifactId,
String version,
String type,
Metadata.Nature nature) |
StubMetadata(String groupId,
String artifactId,
String version,
String type,
Metadata.Nature nature,
File file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArtifactId()
Gets the artifact identifier of this metadata.
|
File |
getFile()
Gets the file of this metadata.
|
String |
getGroupId()
Gets the group identifier of this metadata.
|
Metadata.Nature |
getNature()
Gets the nature of this metadata.
|
String |
getType()
Gets the type of the metadata, e.g.
|
String |
getVersion()
Gets the version of this metadata.
|
int |
hashCode() |
Metadata |
setFile(File file)
Sets the file of the metadata.
|
StubMetadata |
setVersion(String version) |
String |
toString() |
public StubMetadata(String type, Metadata.Nature nature)
public StubMetadata(String groupId, String type, Metadata.Nature nature)
public StubMetadata(String groupId, String artifactId, String type, Metadata.Nature nature)
public StubMetadata(String groupId, String artifactId, String version, String type, Metadata.Nature nature)
public String getGroupId()
MetadatagetGroupId in interface Metadatanull.public String getArtifactId()
MetadatagetArtifactId in interface Metadatanull.public String getVersion()
MetadatagetVersion in interface Metadatanull.public String getType()
Metadatapublic Metadata.Nature getNature()
Metadatapublic File getFile()
Metadatapublic Metadata setFile(File file)
Metadatapublic StubMetadata setVersion(String version)
Copyright © 2010-2015 Sonatype, Inc.. All Rights Reserved.