public class MetadataRepositoryItem extends TextRepositoryItem
maven-metadata.xml file.| Constructor and Description |
|---|
MetadataRepositoryItem(Run<?,?> build,
hudson.maven.reporters.MavenArtifact artifact) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArtifact(hudson.maven.reporters.MavenArtifact artifact,
ArtifactRepositoryItem item) |
static String |
formatDateVersion(Run buildRun) |
protected String |
generateContent() |
String |
getContentType() |
String |
getDescription() |
Date |
getLastModified() |
String |
getName() |
String |
getPath() |
getContent, getParent, getSize, setParentpublic MetadataRepositoryItem(Run<?,?> build, hudson.maven.reporters.MavenArtifact artifact)
public String getPath()
getPath in interface RepositoryElementgetPath in class TextRepositoryItempublic void addArtifact(hudson.maven.reporters.MavenArtifact artifact, ArtifactRepositoryItem item)
public String getName()
public Date getLastModified()
public String getDescription()
public String getContentType()
getContentType in interface RepositoryContentgetContentType in class TextRepositoryItemprotected String generateContent()
generateContent in class TextRepositoryItemCopyright © 2016–2022. All rights reserved.