public class ShellAction extends ActionSupport implements BundleContextAware
container| 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 |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setCommand(String command) |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, 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
Exceptionpublic void setBundleContext(org.osgi.framework.BundleContext bundleContext)
setBundleContext in interface BundleContextAwareCopyright © 2000–2023 Apache Software Foundation. All rights reserved.