Package com.luciad.fusion.platform.model
Class ALfnJob
java.lang.Object
com.luciad.fusion.platform.model.ALfnJob
- Direct Known Subclasses:
TLfnCrawlJob,TLfnPreprocessJob
Represents an asynchronous process that can be executed by LuciadFusion Studio.
- Since:
- 2022.1
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" thisALfnJob.Returns the user who created the job.The date and time when the job was created.getId()The identifier of the job.A value between 0 and 1 (inclusive) which gives an indication of the current progress of the job.TheELfnJobStatethat represents current execution status of this job.The date and time when the job has last completed successfully.TheELfnJobExecutionResultthat represents the execution status of this job's last execution.The date and time when the job was last executed.Returns the user who last modified the job.inthashCode()toString()
-
Method Details
-
getId
The identifier of the job. Theidis unique among all jobs.- Returns:
- the identifier of the job.
-
getCreationTime
The date and time when the job was created.- Returns:
- the creation time of the job
-
getLastExecutionTime
The date and time when the job was last executed. This is the last time the job was started by LuciadFusion Studio. If the job has never been executed, this method will returnnull.- Returns:
- the time that this job was last executed
-
getLastCompletionTime
The date and time when the job has last completed successfully. If the job has never completed successfully, this method will returnnull.- Returns:
- the time that this job has last completed successfully
- Since:
- 2025.0
-
getLastExecutionResult
TheELfnJobExecutionResultthat represents the execution status of this job's last execution. If this job has never been executed, the statusELfnJobExecutionResult.DID_NOT_RUNwill be returned.- Returns:
- the
ELfnJobExecutionResultthat represents the execution status of this job's last execution
-
getJobState
TheELfnJobStatethat represents current execution status of this job.- Returns:
- the
ELfnJobStatethat represents current execution status of this job
-
getJobProgress
A value between 0 and 1 (inclusive) which gives an indication of the current progress of the job. The progress is an estimated percentage of the amount of work that has been done. This is an estimate of the completed amount of "units of work" and not an estimation of the completed amount of time. You should not assume it is accurate. It is possible that as the job execution progresses, this number goes down, instead of up, due to improvements in the estimate of the total amount of work.- Returns:
- a value between 0 and 1 (inclusive) which gives an indication of the current progress of the job.
-
getCreatedBy
Returns the user who created the job.- Returns:
- the user who created the job
-
getUpdatedBy
Returns the user who last modified the job.- Returns:
- the user who last modified the job
-
equals
-
hashCode
public int hashCode() -
toString
-