hudson.plugins.ccm
Class CCMProjectAction
java.lang.Object
hudson.plugins.ccm.AbstractCCMAction
hudson.plugins.ccm.CCMProjectAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject
public class CCMProjectAction
- extends AbstractCCMAction
- Since:
- 1.0
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
|
Constructor Summary |
CCMProjectAction(hudson.model.AbstractProject<?,?> project)
Creates new CCM project action. |
|
Method Summary |
void |
doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Sets CCM trend graph in the response. |
void |
doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Show CCM html report f the latest build. |
CCMBuildAction |
getLastBuildAction()
Returns the last build action. |
boolean |
isDisplayGraph()
Checks if it should display graph. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CCMProjectAction
public CCMProjectAction(hudson.model.AbstractProject<?,?> project)
- Creates new CCM project action.
- Parameters:
project - Project which this action will be applied to.
isDisplayGraph
public final boolean isDisplayGraph()
- Checks if it should display graph.
- Returns:
true if it should display graph and
false otherwise.
getLastBuildAction
public CCMBuildAction getLastBuildAction()
- Returns the last build action.
- Returns:
- the last build action or
null if there is no such
build action.
doIndex
public void doIndex(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
- Show CCM html report f the latest build. If no builds are associated
with CCM , returns info page.
- Parameters:
request - Stapler requestresponse - Stapler response
- Throws:
java.io.IOException - in case of an error
doGraph
public void doGraph(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
- Sets CCM trend graph in the response.
- Parameters:
request - Requestresponse - Response
- Throws:
java.io.IOException
Copyright © 2010-2011 the CCM plug-in team-2011. All Rights Reserved.