Package hudson.model
Class Run.Artifact
- java.lang.Object
-
- hudson.model.Run.Artifact
-
-
Field Summary
Fields Modifier and Type Field Description StringrelativePathRelative path name from artifacts root.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetDisplayPath()FilegetFile()Deprecated.May not be meaningful with custom artifact managers.StringgetFileName()Returns just the file name portion, without the path.longgetFileSize()StringgetHref()StringgetLength()StringgetTreeNodeId()StringtoString()
-
-
-
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)withrelativePathinstead.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()
-
-