Package hudson.model
Class Run.Artifact
- java.lang.Object
-
- hudson.model.Run.Artifact
-
-
Field Summary
Fields Modifier and Type Field Description String
relativePath
Relative path name from artifacts root.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDisplayPath()
File
getFile()
Deprecated.May not be meaningful with custom artifact managers.String
getFileName()
Returns just the file name portion, without the path.long
getFileSize()
String
getHref()
String
getLength()
String
getTreeNodeId()
String
toString()
-
-
-
Field Detail
-
relativePath
@Exported(visibility=3) public final String relativePath
Relative path name from artifacts root.
-
-
Method Detail
-
getFile
@Deprecated @NonNull public File getFile()
Deprecated.May not be meaningful with custom artifact managers. UseArtifactManager.root()
plusVirtualFile.child(java.lang.String)
withrelativePath
instead.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()
-
-