org.apache.struts2.osgi.admin.actions
Class ShellAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.apache.struts2.osgi.admin.actions.ShellAction
- All Implemented Interfaces:
- Action, LocaleProvider, TextProvider, Validateable, ValidationAware, java.io.Serializable
public class ShellAction
- extends ActionSupport
This action executes commands on the Felix Shell
- See Also:
- Serialized Form
| Methods inherited from class com.opensymphony.xwork2.ActionSupport |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellAction
public ShellAction()
execute
public java.lang.String execute()
- Specified by:
execute in interface Action- Overrides:
execute in class ActionSupport
getCommand
public java.lang.String getCommand()
setCommand
public void setCommand(java.lang.String command)
getOutput
public java.lang.String getOutput()
executeCommand
public void executeCommand(java.lang.String commandLine,
java.io.PrintStream out,
java.io.PrintStream err)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.