public class ArtifactRepositoryItem extends Object implements RepositoryContent
| Constructor and Description |
|---|
ArtifactRepositoryItem(Run<?,?> build,
hudson.maven.reporters.MavenArtifact mavenArtifact,
boolean timestampedSnapshot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fileExists() |
String |
getArtifactPath()
The path that the artifact believes it belongs to.
|
Run<?,?> |
getBuild() |
InputStream |
getContent() |
String |
getContentType() |
String |
getDescription() |
File |
getFile() |
Date |
getLastModified() |
String |
getName() |
RepositoryDirectory |
getParent() |
String |
getPath() |
Long |
getSize() |
void |
setParent(RepositoryDirectory parent) |
public ArtifactRepositoryItem(Run<?,?> build, hudson.maven.reporters.MavenArtifact mavenArtifact, boolean timestampedSnapshot)
public String getName()
getName in interface RepositoryElementpublic RepositoryDirectory getParent()
getParent in interface RepositoryElementpublic void setParent(RepositoryDirectory parent)
setParent in interface RepositoryElementpublic String getPath()
getPath in interface RepositoryElementpublic InputStream getContent() throws Exception
getContent in interface RepositoryContentExceptionpublic Date getLastModified()
getLastModified in interface RepositoryContentpublic Long getSize()
getSize in interface RepositoryContentpublic String getDescription()
getDescription in interface RepositoryElementpublic boolean fileExists()
public File getFile()
public String getArtifactPath()
public String getContentType()
getContentType in interface RepositoryContentpublic Run<?,?> getBuild()
Copyright © 2016–2022. All rights reserved.