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 TypeMethodDescriptionboolean
Indicates 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.TheELfnJobState
that represents current execution status of this job.TheELfnJobExecutionResult
that 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.int
hashCode()
toString()
-
Method Details
-
getId
The identifier of the job. Theid
is 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
-
getLastExecutionResult
TheELfnJobExecutionResult
that represents the execution status of this job's last execution. If this job has never been executed, the statusELfnJobExecutionResult.DID_NOT_RUN
will be returned.- Returns:
- the
ELfnJobExecutionResult
that represents the execution status of this job's last execution
-
getJobState
TheELfnJobState
that represents current execution status of this job.- Returns:
- the
ELfnJobState
that 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
-