hudson.plugins.covcomplplot
Class CovComplPlotBuildAction

java.lang.Object
  extended by hudson.plugins.covcomplplot.CovComplPlotBuildAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject, org.kohsuke.stapler.StaplerProxy

public class CovComplPlotBuildAction
extends Object
implements hudson.model.Action, org.kohsuke.stapler.StaplerProxy

Build Action. This redirects StaplerRequest to CovComplPlotTaget by StaplerProxy.
The reason why uses this scheme is to minimize the memory usage.

Author:
JunHo Yoon

Field Summary
 WeakReference<CovComplPlotTaget> target
          Weak reference to CovComplPlotTaget to be garbage collected
 
Constructor Summary
CovComplPlotBuildAction(hudson.model.AbstractBuild<?,?> owner, CovComplPlotTaget target)
          Constructor
 
Method Summary
 String getDisplayName()
           
 String getIconFileName()
           
 hudson.model.AbstractBuild<?,?> getOwner()
          Get the owner
 Object getTarget()
           
 String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

target

public transient WeakReference<CovComplPlotTaget> target
Weak reference to CovComplPlotTaget to be garbage collected

Constructor Detail

CovComplPlotBuildAction

public CovComplPlotBuildAction(hudson.model.AbstractBuild<?,?> owner,
                               CovComplPlotTaget target)
Constructor

Parameters:
owner - build object
target - target to be used.
Method Detail

getDisplayName

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

getIconFileName

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

getUrlName

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

getTarget

public Object getTarget()
Specified by:
getTarget in interface org.kohsuke.stapler.StaplerProxy

getOwner

public hudson.model.AbstractBuild<?,?> getOwner()
Get the owner

Returns:
corresponding build


Copyright © 2004-2011. All Rights Reserved.