hudson.model
Class Run.Artifact

java.lang.Object
  extended by hudson.model.Run.Artifact
Enclosing class:
Run<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>

@ExportedBean
public class Run.Artifact
extends Object

A build artifact.


Field Summary
 String relativePath
          Relative path name from Run.getArtifactsDir()
 
Method Summary
 String getDisplayPath()
           
 File getFile()
          Gets the artifact file.
 String getFileName()
          Returns just the file name portion, without the path.
 long getFileSize()
           
 String getHref()
           
 String getLength()
           
 String getTreeNodeId()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

relativePath

@Exported(visibility=3)
public final String relativePath
Relative path name from Run.getArtifactsDir()

Method Detail

getFile

public File getFile()
Gets the artifact file.


getFileName

@Exported(visibility=3)
public String getFileName()
Returns just the file name portion, without the path.


getDisplayPath

@Exported(visibility=3)
public String getDisplayPath()

getHref

public String getHref()

getLength

public String getLength()

getFileSize

public long getFileSize()

getTreeNodeId

public String getTreeNodeId()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2013. All Rights Reserved.