public class JsBuildAction extends JsBaseAction
Constructor and Description |
---|
JsBuildAction(hudson.model.AbstractBuild<?,?> build)
This class implements the JS widgets pages for a build.
|
Modifier and Type | Method and Description |
---|---|
hudson.model.AbstractBuild<?,?> |
getBuild()
Returns the build.
|
String |
getBuiltOn()
Returns the Name of the
Node where the AbstractBuild happened. |
Collection<String> |
getChangeSetEntries(hudson.scm.ChangeLogSet.Entry entry)
Returns a representation for affected files in entry prefixing them with the
EditType of the
change. |
hudson.model.AbstractProject<?,?> |
getProject()
Returns the project.
|
String |
getUrlName() |
getBaseUrl, getDisplayName, getIconFileName, getImagesUrl, skipDescription, wantHtml
public JsBuildAction(hudson.model.AbstractBuild<?,?> build)
build
- this action acts on.public String getUrlName()
getUrlName
in interface hudson.model.Action
getUrlName
in class JsBaseAction
public hudson.model.AbstractBuild<?,?> getBuild()
public hudson.model.AbstractProject<?,?> getProject()
public String getBuiltOn()
Node
where the AbstractBuild
happened. If the Node
is deleted
meanwhile it returns UNKNOWN.public Collection<String> getChangeSetEntries(hudson.scm.ChangeLogSet.Entry entry)
EditType
of the
change. Some SCM
s do not support ChangeLogSet.Entry.getAffectedFiles()
, so do fall back to
ChangeLogSet.Entry.getAffectedPaths()
in this case.entry
- changeset.EditType
prefixed paths.Copyright © 2004-2013. All Rights Reserved.