public class DynamicInterpreterExtension
extends org.alfresco.repo.processor.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(org.alfresco.repo.admin.BaseInterpreter interpreter)
Set the BaseInterpreter to use when executing commands and retrieving the command result.
|
public void setInterpreter(org.alfresco.repo.admin.BaseInterpreter interpreter)
interpreter
- For example, repoAdminInterpreterpublic void executeCmd(String command)
command
- string to executepublic long getDuration()
public String getResult()
public String getCommand()
Copyright © 2005–2018 Alfresco Software. All rights reserved.