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<?,?>
build
protected static Logger
LOG
Our logger.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDownstreamBuildViewAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDownstreamBuilds(String dowmstreamProject, int buildNumber)
AbstractBuild
getBuild()
String
getDisplayName()
int
getDownstreamBuildNumber(String projectName)
String
getIconFileName()
String
getUrlName()
void
onAttached(Run<?,?> r)
void
onLoad(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:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
@Exported(visibility=2) public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
onAttached
public void onAttached(Run<?,?> r)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> r)
- Specified by:
onLoad
in interfaceRunAction2
-
getBuild
public AbstractBuild getBuild()
-
getDownstreamBuildNumber
public int getDownstreamBuildNumber(String projectName)
-
addDownstreamBuilds
public void addDownstreamBuilds(String dowmstreamProject, int buildNumber)
-
-