org.jvnet.hudson.plugins
Class AbstractDownstreamBuildViewAction

java.lang.Object
  extended by org.jvnet.hudson.plugins.AbstractDownstreamBuildViewAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject
Direct Known Subclasses:
DownstreamBuildViewAction

public abstract class AbstractDownstreamBuildViewAction
extends Object
implements hudson.model.Action

Author:
shinod.mohandas

Field Summary
protected  hudson.model.AbstractBuild<?,?> build
           
protected static Logger LOG
          Our logger.
 
Constructor Summary
protected AbstractDownstreamBuildViewAction(hudson.model.AbstractBuild build)
           
 
Method Summary
 void addDownstreamBuilds(String dowmstreamProject, int buildNumber)
           
 hudson.model.AbstractBuild getBuild()
           
 String getDisplayName()
           
 int getDownstreamBuildNumber(String projectName)
           
 String getIconFileName()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final Logger LOG
Our logger.


build

protected final hudson.model.AbstractBuild<?,?> build
Constructor Detail

AbstractDownstreamBuildViewAction

protected AbstractDownstreamBuildViewAction(hudson.model.AbstractBuild build)
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

@Exported(visibility=2)
public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getBuild

public hudson.model.AbstractBuild getBuild()

getDownstreamBuildNumber

public int getDownstreamBuildNumber(String projectName)

addDownstreamBuilds

public void addDownstreamBuilds(String dowmstreamProject,
                                int buildNumber)


Copyright © 2004-2011 Ushus Technologies. All Rights Reserved.