public class ResultAction extends Object implements jenkins.model.RunAction2
Constructor and Description |
---|
ResultAction(hudson.model.Run<?,?> run,
hudson.FilePath ws)
Instantiates a new Result action.
|
Modifier and Type | Method and Description |
---|---|
String |
getBuildId()
Get build id string.
|
String |
getDisplayName() |
String |
getHref()
Get href string fo files in the workspace.
|
List<Summary> |
getHtmlFiles()
Gets html files.
|
String |
getIconFileName() |
List<Summary> |
getImageFiles()
Gets image files.
|
hudson.FilePath |
getPath()
Gets path.
|
hudson.model.Run |
getRun()
Gets run.
|
String |
getUrlName() |
List<Summary> |
getVisualsByPath(hudson.FilePath path,
String fFormat)
Gets List of summary objects by path and file format.
|
void |
onAttached(hudson.model.Run<?,?> run) |
void |
onLoad(hudson.model.Run<?,?> run) |
hudson.model.Action |
updateSummary()
Update summary action.
|
public ResultAction(hudson.model.Run<?,?> run, hudson.FilePath ws)
run
- the runws
- the ws@CheckForNull public String getIconFileName()
getIconFileName
in interface hudson.model.Action
@CheckForNull public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
@CheckForNull public String getUrlName()
getUrlName
in interface hudson.model.Action
public hudson.model.Run getRun()
public String getBuildId()
public String getHref()
public List<Summary> getVisualsByPath(hudson.FilePath path, String fFormat) throws Exception
path
- the pathfFormat
- the f formatException
- the exceptionpublic hudson.model.Action updateSummary()
public void onAttached(hudson.model.Run<?,?> run)
onAttached
in interface jenkins.model.RunAction2
public void onLoad(hudson.model.Run<?,?> run)
onLoad
in interface jenkins.model.RunAction2
public hudson.FilePath getPath()
Copyright © 2016–2020. All rights reserved.