com.nirima.jenkins.repo.build
Class ArtifactRepositoryItem

java.lang.Object
  extended by com.nirima.jenkins.repo.build.ArtifactRepositoryItem
All Implemented Interfaces:
RepositoryContent, RepositoryElement

public class ArtifactRepositoryItem
extends java.lang.Object
implements RepositoryContent

Represent a maven repository item.


Constructor Summary
ArtifactRepositoryItem(hudson.maven.MavenBuild build, hudson.maven.reporters.MavenArtifact mavenArtifact)
           
 
Method Summary
 java.lang.String getArtifactPath()
          The path that the artifact believes it belongs to.
 java.io.InputStream getContent()
           
 java.lang.String getDescription()
           
 java.io.File getFile()
           
 java.lang.String getLastModified()
           
 java.lang.String getName()
           
 RepositoryDirectory getParent()
           
 java.lang.String getPath()
           
 java.lang.Long getSize()
           
 void setParent(RepositoryDirectory parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactRepositoryItem

public ArtifactRepositoryItem(hudson.maven.MavenBuild build,
                              hudson.maven.reporters.MavenArtifact mavenArtifact)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface RepositoryElement

getParent

public RepositoryDirectory getParent()
Specified by:
getParent in interface RepositoryElement

setParent

public void setParent(RepositoryDirectory parent)
Specified by:
setParent in interface RepositoryElement

getPath

public java.lang.String getPath()
Specified by:
getPath in interface RepositoryElement

getContent

public java.io.InputStream getContent()
                               throws java.lang.Exception
Specified by:
getContent in interface RepositoryContent
Throws:
java.lang.Exception

getLastModified

public java.lang.String getLastModified()
Specified by:
getLastModified in interface RepositoryContent

getSize

public java.lang.Long getSize()
Specified by:
getSize in interface RepositoryContent

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface RepositoryContent

getFile

public java.io.File getFile()

getArtifactPath

public java.lang.String getArtifactPath()
The path that the artifact believes it belongs to.

Returns:


Copyright © 2004-2011. All Rights Reserved.