|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.plugins.jswidgets.JsBaseAction
hudson.plugins.jswidgets.JsBuildAction
public class JsBuildAction
This class implements the JS widgets pages for a build.
| Field Summary | |
|---|---|
private AbstractBuild<?,?> |
build
the build this action acts on. |
private static HashMap<EditType,String> |
EDIT_TYPE_SYMBOLS
describe type of edits. |
private static Logger |
LOG
Our logger. |
| Constructor Summary | |
|---|---|
JsBuildAction(AbstractBuild<?,?> build)
|
|
| Method Summary | |
|---|---|
AbstractBuild<?,?> |
getBuild()
Returns the build. |
String |
getBuiltOn()
Returns the Name of the Node where the AbstractBuild happened. |
Collection<String> |
getChangeSetEntries(ChangeLogSet.Entry entry)
Returns a representation for affected files in entry prefixing them with the EditType of the
change. |
AbstractProject<?,?> |
getProject()
Returns the project. |
String |
getUrlName()
|
| Methods inherited from class hudson.plugins.jswidgets.JsBaseAction |
|---|
getBaseUrl, getDisplayName, getIconFileName, getImagesUrl, wantHtml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final Logger LOG
private final AbstractBuild<?,?> build
private static final HashMap<EditType,String> EDIT_TYPE_SYMBOLS
| Constructor Detail |
|---|
public JsBuildAction(AbstractBuild<?,?> build)
build - this action acts on.| Method Detail |
|---|
public String getUrlName()
getUrlName in interface ActiongetUrlName in class JsBaseActionpublic AbstractBuild<?,?> getBuild()
public AbstractProject<?,?> getProject()
public String getBuiltOn()
Node where the AbstractBuild happened. If the Node is deleted
meanwhile it returns UNKNOWN.
public Collection<String> getChangeSetEntries(ChangeLogSet.Entry entry)
EditType of the
change. Some SCMs do not support ChangeLogSet.Entry.getAffectedFiles(), so do fall back to
ChangeLogSet.Entry.getAffectedPaths() in this case.
entry - changeset.
EditType prefixed paths.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||