public class ProjectSpecificAction extends Object implements hudson.model.ProminentProjectAction, jenkins.tasks.SimpleBuildStep.LastBuildAction
Modifier and Type | Class and Description |
---|---|
static class |
ProjectSpecificAction.Png
The type Png.
|
Constructor and Description |
---|
ProjectSpecificAction(hudson.model.AbstractProject<?,?> project)
Instantiates a new Project specific action.
|
ProjectSpecificAction(hudson.model.Run<?,?> run)
Instantiates a new Project specific action.
|
Modifier and Type | Method and Description |
---|---|
void |
buildGraphs()
Build graphs.
|
void |
doChecklock(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Used from javascript to check lock state.
|
List<String> |
getChartsName()
Gets charts name.
|
String |
getDisplayName()
Gets display name.
|
List<GraphOptionsInfo> |
getGraphOptionsInfo()
Gets graph options info.
|
String |
getIconFileName()
Gets icon file name.
|
ProjectSpecificAction.Png |
getImg(String imageName)
This is the method Hudson uses when a dynamic png is referenced in a jelly file.
|
hudson.model.AbstractProject<?,?> |
getProject()
Gets project.
|
Collection<? extends hudson.model.Action> |
getProjectActions() |
String |
getUrlName()
This corresponds to the url of the image files displayed on the job page.
|
boolean |
isNeoloadBuildJob()
Is neoload build job boolean.
|
void |
scanBuildReport()
Scan build report.
|
public ProjectSpecificAction(hudson.model.AbstractProject<?,?> project)
project
- the projectpublic ProjectSpecificAction(hudson.model.Run<?,?> run)
run
- the runpublic String getIconFileName()
getIconFileName
in interface hudson.model.Action
public String getDisplayName()
getDisplayName
in interface hudson.model.Action
getDisplayName
in interface hudson.model.ModelObject
public String getUrlName()
getUrlName
in interface hudson.model.Action
hudson.model.Action#getUrlName()
public void scanBuildReport()
public List<String> getChartsName()
public void buildGraphs()
public List<GraphOptionsInfo> getGraphOptionsInfo()
public boolean isNeoloadBuildJob()
public hudson.model.AbstractProject<?,?> getProject()
public void doChecklock(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
req
- the reqrsp
- the rspIOException
- the io exceptionpublic ProjectSpecificAction.Png getImg(String imageName)
imageName
- the image namepublic Collection<? extends hudson.model.Action> getProjectActions()
getProjectActions
in interface jenkins.tasks.SimpleBuildStep.LastBuildAction
Copyright © 2004-2021. All Rights Reserved.