Package hudson.plugins.disk_usage
Class BuildDiskUsageAction
- java.lang.Object
-
- hudson.plugins.disk_usage.BuildDiskUsageAction
-
- All Implemented Interfaces:
Action
,BuildBadgeAction
,ModelObject
,ProminentProjectAction
,RunAction2
@ExportedBean(defaultVisibility=1) public class BuildDiskUsageAction extends Object implements ProminentProjectAction, BuildBadgeAction, RunAction2
Disk usage information for a single build- Author:
- dvrzalik
-
-
Constructor Summary
Constructors Constructor Description BuildDiskUsageAction(AbstractBuild<?,?> build)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAllDiskUsage()
String
getBuildUsageString()
Long
getDiskUsage()
String
getDisplayName()
String
getIconFileName()
String
getUrlName()
void
onAttached(Run<?,?> r)
void
onLoad(Run<?,?> r)
void
setDiskUsage(Long size)
-
-
-
Constructor Detail
-
BuildDiskUsageAction
public BuildDiskUsageAction(AbstractBuild<?,?> build)
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
setDiskUsage
public void setDiskUsage(Long size) throws IOException
- Throws:
IOException
-
getDiskUsage
public Long getDiskUsage()
- Returns:
- Disk usage of the build (included child builds)
-
getAllDiskUsage
public Long getAllDiskUsage()
-
getBuildUsageString
public String getBuildUsageString()
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoad
in interfaceRunAction2
-
-