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 RepositoryElement
public RepositoryDirectory getParent()
getParent
in interface RepositoryElement
public void setParent(RepositoryDirectory parent)
setParent
in interface RepositoryElement
public String getPath()
getPath
in interface RepositoryElement
public InputStream getContent() throws Exception
getContent
in interface RepositoryContent
Exception
public Date getLastModified()
getLastModified
in interface RepositoryContent
public Long getSize()
getSize
in interface RepositoryContent
public String getDescription()
getDescription
in interface RepositoryElement
public boolean fileExists()
public File getFile()
public String getArtifactPath()
public String getContentType()
getContentType
in interface RepositoryContent
public Run<?,?> getBuild()
Copyright © 2016–2022. All rights reserved.