|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.apache.struts2.osgi.admin.actions.ShellAction
public class ShellAction
This action executes commands on the Felix Shell
| Field Summary |
|---|
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
ShellAction()
|
|
| Method Summary | |
|---|---|
java.lang.String |
execute()
|
void |
executeCommand(java.lang.String commandLine,
java.io.PrintStream out,
java.io.PrintStream err)
|
java.lang.String |
getCommand()
|
java.lang.String |
getOutput()
|
void |
setCommand(java.lang.String command)
|
| 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, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShellAction()
| Method Detail |
|---|
public java.lang.String execute()
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportpublic java.lang.String getCommand()
public void setCommand(java.lang.String command)
public java.lang.String getOutput()
public void executeCommand(java.lang.String commandLine,
java.io.PrintStream out,
java.io.PrintStream err)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||