public interface ICallBackScheduler
The following flag is included in the espressmanager.bat/sh file (for EspressReport):
-SchedulerCallBackClass:package.class (where package.class is the fully qualified name of the class that implements this interface)
For ERES, you can specify the class file in the Administration Console. Note that the class file MUST be in the CLASSPATH of the ERES application.
Modifier and Type | Method and Description |
---|---|
void |
exportFailed(ScheduleObject obj,
java.lang.String exportPath,
java.lang.Throwable e)
Invoked when a schedule task export failed.
|
void |
exportSucceeded(ScheduleObject obj,
java.lang.String exportPath)
Invoked when a schedule task export succeeded.
|
void exportSucceeded(ScheduleObject obj, java.lang.String exportPath)
obj
- the scheduler object that contains information about the task executedexportPath
- if the task was an export task, this parameter is the location of the exported
file.void exportFailed(ScheduleObject obj, java.lang.String exportPath, java.lang.Throwable e)
obj
- the scheduler object that contains information about the task executedexportPath
- if the task was an export task, this parameter is the location of the exported
file.e
- the Exception associated with the error, if available, otherwise null.