public class AecuServiceImpl extends Object implements de.valtech.aecu.api.service.AecuService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DIR_FALLBACK_SCRIPT |
| Constructor and Description |
|---|
AecuServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
de.valtech.aecu.api.service.HistoryEntry |
createHistoryEntry() |
de.valtech.aecu.api.service.ExecutionResult |
execute(String path) |
de.valtech.aecu.api.service.HistoryEntry |
finishHistoryEntry(de.valtech.aecu.api.service.HistoryEntry history) |
protected String |
getFallbackScript(org.apache.sling.api.resource.ResourceResolver resolver,
String path)
Returns the fallback script name if any exists.
|
List<String> |
getFiles(String path) |
List<de.valtech.aecu.api.service.HistoryEntry> |
getHistory(int startIndex,
int count) |
String |
getVersion() |
boolean |
isValidScriptName(String name) |
boolean |
matchesRunmodes(String name) |
de.valtech.aecu.api.service.HistoryEntry |
storeExecutionInHistory(de.valtech.aecu.api.service.HistoryEntry history,
de.valtech.aecu.api.service.ExecutionResult result) |
protected static final String DIR_FALLBACK_SCRIPT
public String getVersion()
getVersion in interface de.valtech.aecu.api.service.AecuServicepublic List<String> getFiles(String path) throws de.valtech.aecu.api.service.AecuException
getFiles in interface de.valtech.aecu.api.service.AecuServicede.valtech.aecu.api.service.AecuExceptionpublic boolean matchesRunmodes(String name)
matchesRunmodes in interface de.valtech.aecu.api.service.AecuServicepublic boolean isValidScriptName(String name)
isValidScriptName in interface de.valtech.aecu.api.service.AecuServicepublic de.valtech.aecu.api.service.ExecutionResult execute(String path) throws de.valtech.aecu.api.service.AecuException
execute in interface de.valtech.aecu.api.service.AecuServicede.valtech.aecu.api.service.AecuExceptionprotected String getFallbackScript(org.apache.sling.api.resource.ResourceResolver resolver, String path)
resolver - resource resolverpath - original script pathpublic de.valtech.aecu.api.service.HistoryEntry createHistoryEntry()
throws de.valtech.aecu.api.service.AecuException
createHistoryEntry in interface de.valtech.aecu.api.service.AecuServicede.valtech.aecu.api.service.AecuExceptionpublic de.valtech.aecu.api.service.HistoryEntry finishHistoryEntry(de.valtech.aecu.api.service.HistoryEntry history)
throws de.valtech.aecu.api.service.AecuException
finishHistoryEntry in interface de.valtech.aecu.api.service.AecuServicede.valtech.aecu.api.service.AecuExceptionpublic de.valtech.aecu.api.service.HistoryEntry storeExecutionInHistory(de.valtech.aecu.api.service.HistoryEntry history,
de.valtech.aecu.api.service.ExecutionResult result)
throws de.valtech.aecu.api.service.AecuException
storeExecutionInHistory in interface de.valtech.aecu.api.service.AecuServicede.valtech.aecu.api.service.AecuExceptionpublic List<de.valtech.aecu.api.service.HistoryEntry> getHistory(int startIndex, int count) throws de.valtech.aecu.api.service.AecuException
getHistory in interface de.valtech.aecu.api.service.AecuServicede.valtech.aecu.api.service.AecuExceptionCopyright © 2019. All rights reserved.