hudson.plugins.jswidgets
Class JsJobAction
java.lang.Object
hudson.plugins.jswidgets.JsBaseAction
hudson.plugins.jswidgets.JsJobAction
- All Implemented Interfaces:
- hudson.model.Action, hudson.model.ModelObject
public class JsJobAction
- extends JsBaseAction
This class implements the JS widgets pages for a job.
- Author:
- mfriedenhagen
|
Constructor Summary |
JsJobAction(hudson.model.AbstractProject<?,?> project)
|
|
Method Summary |
String |
getJobDescription(boolean escapeApostroph)
Returns the description of the job without line feeds and ' as this will break the Javascript output. |
hudson.model.AbstractProject<?,?> |
getProject()
Returns the job for which the health report will be generated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsJobAction
public JsJobAction(hudson.model.AbstractProject<?,?> project)
- Parameters:
project - the job for which the health report will be generated.
getProject
public hudson.model.AbstractProject<?,?> getProject()
- Returns the job for which the health report will be generated.
- Returns:
- job
getJobDescription
public String getJobDescription(boolean escapeApostroph)
- Returns the description of the job without line feeds and ' as this will break the Javascript output.
- Parameters:
escapeApostroph - escape apostroph (used by javascript-rendering).
- Returns:
- the description in one line.
Copyright © 2004-2012. All Rights Reserved.