public class AnchoreProjectAction extends Object implements hudson.model.Action
Modifier and Type | Field and Description |
---|---|
hudson.model.Job<?,?> |
job
Parent that owns this action.
|
Constructor and Description |
---|
AnchoreProjectAction(hudson.model.Job<?,?> job)
Create new AnchoreProjectAction instance.
|
Modifier and Type | Method and Description |
---|---|
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Redirects the index page to the last report.
|
String |
getDisplayName() |
String |
getIconFileName() |
AnchoreAction |
getLastAnchoreAction() |
hudson.util.Graph |
getTrendGraph()
Generates the Anchore trend graph
|
String |
getUrlName() |
public AnchoreProjectAction(hudson.model.Job<?,?> job)
job
- instance of Jenkins Jobpublic 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
public void doIndex(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
request
- Stapler requestresponse
- Stapler responseIOException
- in case of an errorpublic AnchoreAction getLastAnchoreAction()
public hudson.util.Graph getTrendGraph()
Copyright © 2016–2019. All rights reserved.