1 37 package net.sourceforge.cruisecontrol.servlet; 38 39 import net.sourceforge.cruisecontrol.PluginDetail; 40 import net.sourceforge.cruisecontrol.interceptor.PluginsAware; 41 42 import com.opensymphony.xwork.ActionSupport; 43 44 48 public class PluginsServlet extends ActionSupport implements PluginsAware { 49 private PluginDetail[] availablePlugins; 50 private PluginDetail[] configuredPlugins; 51 private String pluginType; 52 53 public String execute() throws Exception { 54 return SUCCESS; 55 } 56 57 public PluginDetail[] getAvailablePlugins() { 58 return availablePlugins; 59 } 60 61 public void setAvailablePlugins(PluginDetail[] plugins) { 62 availablePlugins = plugins; 63 } 64 65 public PluginDetail[] getConfiguredPlugins() { 66 return configuredPlugins; 67 } 68 69 public void setConfiguredPlugins(PluginDetail[] plugins) { 70 configuredPlugins = plugins; 71 } 72 73 public String getPluginType() { 74 return pluginType; 75 } 76 77 public void setPluginType(String pluginType) { 78 this.pluginType = pluginType; 79 } 80 } 81 | Popular Tags |