|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserTask
UserTask is an interface that is used to help you to perform customized tasks.
| Method Summary | |
|---|---|
java.lang.String |
getErrorMsg()
Gets the error message. |
boolean |
hasError()
Checks if error occurs during the task running process. |
void |
initReportProperties(java.util.Properties rptProp)
Initializes the task using the provided task properties. |
void |
initUserTaskProperties(java.util.Properties userTaskProp)
Initializes the task using the provided customer task properties. |
void |
run()
Performances running the task. |
void |
stopExec()
Forces the task stop executing. |
| Method Detail |
|---|
void initReportProperties(java.util.Properties rptProp)
rptProp - the properties contains the task information of a schedule. Please see the document
"INSTALL_ROOT/help/server/en/userguide/apdx_sch.htm"
for the instructions of the scheduled task properties.
Note: the value of jrs.task_class property should be the custom task class name, which must implement this interface.void initUserTaskProperties(java.util.Properties userTaskProp)
userTaskProp - the properties contains the customer task information of a schedule.void run()
void stopExec()
boolean hasError()
java.lang.String getErrorMsg()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||