|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CompletedTaskRecord
The CompletedTaskRecord contains information of a completed publish task,
including summary information of a completed task, such as when it is completed, whether it is successful or any error occurs, etc,
and more detailed result information wrapped in a TaskSuccessInfo, got via getSuccessInfo().
TaskSuccessInfo| Method Summary | |
|---|---|
java.lang.String |
getCatalogFile()
Returns the report catalog of the completed task. |
java.lang.String |
getCompletedRecordID()
Gets the record ID of the completed task. |
java.util.Date |
getCompletedTime()
Gets the completed time of the completed task. |
java.lang.String |
getEngineStatus()
Returns the report engine status message of the completed task. |
java.lang.String |
getErrorMessage()
Returns the error message of the completed task. |
int |
getLaunchType()
Returns the launch type of the completed task. |
java.lang.String |
getLogicOfConditions()
Returns the logic between the trigger and the time condition of this task. |
java.lang.String |
getParamFile()
Returns the parameter file name of the report of the completed task. |
java.lang.String |
getReportFile()
Returns the report name of the completed task. |
java.lang.String |
getReportNames()
Returns a String containing report names. |
java.lang.String |
getResults()
Deprecated. For 10.0, replaced by getSuccessInfo(). For further version, the behavior is not specified. |
java.lang.String |
getSubmitter()
Returns the submitter of the completed task. |
TaskSuccessInfo |
getSuccessInfo()
Gets detailed information for exporting every format file. Regardless whether successful or not ( isSuccessful()), the detailed information is available to you. |
java.lang.String |
getTaskClass()
Returns the task type of the completed task. |
java.lang.String |
getTaskID()
Returns the task ID of the completed task. |
java.lang.String |
getTaskName()
Returns the task name of the completed task. |
java.lang.String |
getTrigger()
Returns the bound trigger name of the active task. |
java.lang.String |
getVersionID()
Returns the version ID of the "Publish to Version system" task. |
boolean |
isMissed()
Returns whether this completed task is missed or not. |
boolean |
isSuccessful()
Returns if the completed task is successful. If the task is failed (the task completed with error), then call getErrorMessage() and getEngineStatus() to get error reason. |
| Methods inherited from interface jet.server.api.PropertiesCreator |
|---|
toProperties |
| Method Detail |
|---|
java.lang.String getCompletedRecordID()
CompletedTaskTable.getCompletedTaskRecord(String).java.util.Date getCompletedTime()
boolean isSuccessful()
getErrorMessage() and getEngineStatus() to get error reason.
getSuccessInfo().
true, otherwise return false.TaskSuccessInfo getSuccessInfo()
isSuccessful()), the detailed information is available to you.
TaskSuccessInfojava.lang.String getEngineStatus()
java.lang.String getErrorMessage()
java.lang.String getSubmitter()
java.lang.String getTaskID()
java.lang.String getTaskName()
java.lang.String getTaskClass()
int getLaunchType()
APIConst.IMMEDIATELY,
APIConst.AT_TIME,
APIConst.PERIODICALLY
java.lang.String getCatalogFile()
java.lang.String getReportFile()
java.lang.String getParamFile()
java.lang.String getResults()
getSuccessInfo(). For further version, the behavior is not specified.
getSuccessInfo()java.lang.String getVersionID()
boolean isMissed()
java.lang.String getTrigger()
java.lang.String getLogicOfConditions()
java.lang.String getReportNames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||