public class AecuServiceMBeanImpl extends com.adobe.granite.jmx.annotation.AnnotatedStandardMBean implements AecuServiceMBean
| Constructor and Description |
|---|
AecuServiceMBeanImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
execute(String path)
Executes the script at the given position.
|
List<String> |
getFiles(String path)
Returns a list of files that can be executed in the given path.
|
String |
getHistory(int start,
int count)
Returns history entries.
|
String |
getVersion()
Returns the AECU version.
|
getAnnotation, getConstructor, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getMethod, getParamAnnotation, getParamAnnotation, getParameterName, getParameterName, getReadMethod, getWriteMethodcacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getDescription, getDescription, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic AecuServiceMBeanImpl()
throws NotCompliantMBeanException
NotCompliantMBeanException - error setting up mbeanpublic String getVersion()
AecuServiceMBeangetVersion in interface AecuServiceMBeanpublic List<String> getFiles(String path) throws de.valtech.aecu.api.service.AecuException
AecuServiceMBeangetFiles in interface AecuServiceMBeanpath - file or folderde.valtech.aecu.api.service.AecuException - error finding files (e.g. invalid path)public String execute(String path) throws de.valtech.aecu.api.service.AecuException
AecuServiceMBeanexecute in interface AecuServiceMBeanpath - path of scriptde.valtech.aecu.api.service.AecuException - error during executionpublic String getHistory(int start, int count) throws de.valtech.aecu.api.service.AecuException
AecuServiceMBeangetHistory in interface AecuServiceMBeanstart - start index (0 is last run)count - number of entries to returnde.valtech.aecu.api.service.AecuException - error reading historyCopyright © 2019. All rights reserved.