Package com.vrondakis.zap
Class ZapAction
- java.lang.Object
-
- com.vrondakis.zap.ZapAction
-
- All Implemented Interfaces:
Action
,ModelObject
,RunAction2
,SimpleBuildStep.LastBuildAction
public class ZapAction extends Object implements Action, RunAction2, SimpleBuildStep.LastBuildAction
ZapAction Used by jenkins to add the sidebar button
-
-
Method Summary
Modifier and Type Method Description void
doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
void
doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res)
void
doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, int width, int height)
void
doGraphLarge(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res)
String
getDisplayName()
String
getIconFileName()
Collection<? extends Action>
getProjectActions()
Run<?,?>
getRun()
protected String
getTitle()
String
getUrlName()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
-
-
-
Constructor Detail
-
ZapAction
public ZapAction(Run<?,?> run)
-
-
Method Detail
-
getRun
public Run<?,?> getRun()
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
doDynamic
public void doDynamic(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException
-
getProjectActions
public Collection<? extends Action> getProjectActions()
- Specified by:
getProjectActions
in interfaceSimpleBuildStep.LastBuildAction
-
doGraph
public void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res) throws IOException
- Throws:
IOException
-
doGraphLarge
public void doGraphLarge(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res) throws IOException
- Throws:
IOException
-
doGraph
public void doGraph(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, int width, int height) throws IOException
- Throws:
IOException
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoad
in interfaceRunAction2
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getTitle
protected String getTitle()
-
-