public class ScanLogAction extends Object implements jenkins.model.RunAction2
Constructor and Description |
---|
ScanLogAction() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getIconFileName() |
String |
getLogText()
Log text for the analysis.
|
hudson.model.Run |
getRun()
The run associated with this action, called by jelly.
|
String |
getUrlName() |
void |
onAttached(hudson.model.Run<?,?> r) |
void |
onLoad(hudson.model.Run<?,?> r) |
public static final String FILE_NAME
@Nonnull public String getIconFileName()
getIconFileName
in interface hudson.model.Action
@Nonnull public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public hudson.model.Run getRun()
@Nonnull public String getUrlName()
getUrlName
in interface hudson.model.Action
public String getLogText() throws IOException
IOException
- if the log can't be foundpublic void onAttached(hudson.model.Run<?,?> r)
onAttached
in interface jenkins.model.RunAction2
public void onLoad(hudson.model.Run<?,?> r)
onLoad
in interface jenkins.model.RunAction2
Copyright © 2016–2020. All rights reserved.