hudson.plugins.analysis.dashboard
Class AbstractPortlet

java.lang.Object
  extended by hudson.plugins.view.dashboard.DashboardPortlet
      extended by hudson.plugins.analysis.dashboard.AbstractPortlet
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.plugins.view.dashboard.DashboardPortlet>, hudson.model.ModelObject
Direct Known Subclasses:
AbstractWarningsGraphPortlet, AbstractWarningsTablePortlet

public abstract class AbstractPortlet
extends hudson.plugins.view.dashboard.DashboardPortlet

A portlet that provides the plug-in name and project action type.

Author:
Ulli Hafner

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
AbstractPortlet(String name)
          Creates a new instance of AbstractPortlet.
 
Method Summary
protected abstract  Class<? extends AbstractProjectAction<?>> getAction()
          Returns the type of action that persists the warnings results.
 
Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPortlet

public AbstractPortlet(String name)
Creates a new instance of AbstractPortlet.

Parameters:
name - the name of the portlet
Method Detail

getAction

protected abstract Class<? extends AbstractProjectAction<?>> getAction()
Returns the type of action that persists the warnings results.

Returns:
the action type


Copyright © 2004-2012 Hudson. All Rights Reserved.