public class ShellAction extends ActionSupport
LOG| Constructor and Description |
|---|
ShellAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
void |
executeCommand(String commandLine,
PrintStream out,
PrintStream err) |
String |
getCommand() |
String |
getOutput() |
void |
setCommand(String command) |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validatepublic String execute()
execute in interface Actionexecute in class ActionSupportpublic String getCommand()
public void setCommand(String command)
public String getOutput()
public void executeCommand(String commandLine, PrintStream out, PrintStream err) throws Exception
ExceptionCopyright © 2000–2016 Apache Software Foundation. All rights reserved.