net.sourceforge.cruisecontrol.servlet
Class PluginsServlet

java.lang.Object
  extended bycom.opensymphony.xwork.ActionSupport
      extended bynet.sourceforge.cruisecontrol.servlet.PluginsServlet
All Implemented Interfaces:
com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, PluginsAware, java.io.Serializable, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware

public class PluginsServlet
extends com.opensymphony.xwork.ActionSupport
implements PluginsAware

Understands how to load available plugins for users to choose from via a web interface.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
PluginsServlet()
           
 
Method Summary
 java.lang.String execute()
           
 net.sourceforge.cruisecontrol.PluginDetail[] getAvailablePlugins()
           
 net.sourceforge.cruisecontrol.PluginDetail[] getConfiguredPlugins()
           
 java.lang.String getPluginType()
           
 void setAvailablePlugins(net.sourceforge.cruisecontrol.PluginDetail[] plugins)
           
 void setConfiguredPlugins(net.sourceforge.cruisecontrol.PluginDetail[] plugins)
           
 void setPluginType(java.lang.String pluginType)
           
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginsServlet

public PluginsServlet()
Method Detail

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Throws:
java.lang.Exception

getAvailablePlugins

public net.sourceforge.cruisecontrol.PluginDetail[] getAvailablePlugins()

setAvailablePlugins

public void setAvailablePlugins(net.sourceforge.cruisecontrol.PluginDetail[] plugins)
Specified by:
setAvailablePlugins in interface PluginsAware

getConfiguredPlugins

public net.sourceforge.cruisecontrol.PluginDetail[] getConfiguredPlugins()

setConfiguredPlugins

public void setConfiguredPlugins(net.sourceforge.cruisecontrol.PluginDetail[] plugins)
Specified by:
setConfiguredPlugins in interface PluginsAware

getPluginType

public java.lang.String getPluginType()

setPluginType

public void setPluginType(java.lang.String pluginType)