Package com.tietoenator.trip.jxp.session
Class TdbJobResult
java.lang.Object
com.tietoenator.trip.jxp.session.TdbJobResult
Completion status for a LOAD or INDEX batch job.
The job must have been submitted via the submitBatchJob method of the TdbDatabaseDesign class, and the TRIPsystem version must be 8.4-6 or later.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionServer-side log file name assoicated with the completion result.intgetJobId()The ID of the completed batch job.The completion message of the job as either a success or error message.intThe TRIP status / error code for the completed batch job.booleanTrue if this result includes job ID, success and status information.booleanIndicates if the batch job succeeded or failed.
-
Method Details
-
getMessage
The completion message of the job as either a success or error message. -
getFilename
Server-side log file name assoicated with the completion result. Is null if no log file name is available. -
hasStatus
public boolean hasStatus()True if this result includes job ID, success and status information. If false, the values returned by the methods getJobId(), getStatus() and isSuccess() not relevant. This method will only return True for INDEX and LOAD jobs that were programmatically submitted (i.e. NOT as CCL commands). Other job types or methods of submission will always have this property be false. -
getJobId
public int getJobId()The ID of the completed batch job. This property only has a valid value if the hasStatus() method returns true. -
getStatus
public int getStatus()The TRIP status / error code for the completed batch job. This property only has a valid value if the hasStatus() method returns true. -
isSuccess
public boolean isSuccess()Indicates if the batch job succeeded or failed. This property only has a valid value if the hasStatus() method returns true.
-