public class DynamicInterpreterExtension extends BaseProcessorExtension
See script beans configured in 'web-scripts-application-context.xml'.
Constructor and Description |
---|
DynamicInterpreterExtension() |
Modifier and Type | Method and Description |
---|---|
void |
executeCmd(String command)
Script execute command gateway.
|
String |
getCommand() |
long |
getDuration() |
String |
getResult() |
void |
setInterpreter(BaseInterpreter interpreter)
Set the BaseInterpreter to use when executing commands and retrieving the command result.
|
getExtensionName, register, setExtensionName, setProcessor
public void setInterpreter(BaseInterpreter interpreter)
interpreter
- For example, repoAdminInterpreterpublic void executeCmd(String command)
command
- string to executepublic long getDuration()
public String getResult()
public String getCommand()
Copyright © 2005–2017 Alfresco Software. All rights reserved.