Package org.jvnet.hudson.plugins
Class AbstractDownstreamBuildViewAction
- java.lang.Object
-
- org.jvnet.hudson.plugins.AbstractDownstreamBuildViewAction
-
- All Implemented Interfaces:
Action,ModelObject,RunAction2
- Direct Known Subclasses:
DownstreamBuildViewAction
public abstract class AbstractDownstreamBuildViewAction extends Object implements RunAction2
- Author:
- shinod.mohandas
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractBuild<?,?>buildprotected static LoggerLOGOur logger.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDownstreamBuildViewAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDownstreamBuilds(String dowmstreamProject, int buildNumber)AbstractBuildgetBuild()StringgetDisplayName()intgetDownstreamBuildNumber(String projectName)StringgetIconFileName()StringgetUrlName()voidonAttached(Run<?,?> r)voidonLoad(Run<?,?> r)
-
-
-
Field Detail
-
LOG
protected static final Logger LOG
Our logger.
-
build
protected transient AbstractBuild<?,?> build
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
@Exported(visibility=2) public String getUrlName()
- Specified by:
getUrlNamein interfaceAction
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileNamein interfaceAction
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoadin interfaceRunAction2
-
getBuild
public AbstractBuild getBuild()
-
getDownstreamBuildNumber
public int getDownstreamBuildNumber(String projectName)
-
addDownstreamBuilds
public void addDownstreamBuilds(String dowmstreamProject, int buildNumber)
-
-