Class ALfnJob

java.lang.Object
com.luciad.fusion.platform.model.ALfnJob
Direct Known Subclasses:
TLfnCrawlJob, TLfnPreprocessJob

public abstract class ALfnJob extends Object

Represents an asynchronous process that can be executed by LuciadFusion Studio.

Since:
2022.1
  • Method Details

    • getId

      public String getId()
      The identifier of the job. The id is unique among all jobs.
      Returns:
      the identifier of the job.
    • getCreationTime

      public ZonedDateTime getCreationTime()
      The date and time when the job was created.
      Returns:
      the creation time of the job
    • getLastExecutionTime

      public ZonedDateTime 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 return null.
      Returns:
      the time that this job was last executed
    • getLastExecutionResult

      public ELfnJobExecutionResult getLastExecutionResult()
      The ELfnJobExecutionResult that represents the execution status of this job's last execution. If this job has never been executed, the status ELfnJobExecutionResult.DID_NOT_RUN will be returned.
      Returns:
      the ELfnJobExecutionResult that represents the execution status of this job's last execution
    • getJobState

      public ELfnJobState getJobState()
      The ELfnJobState that represents current execution status of this job.
      Returns:
      the ELfnJobState that represents current execution status of this job
    • getJobProgress

      public Double 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

      public TLfnUser getCreatedBy()
      Returns the user who created the job.
      Returns:
      the user who created the job
    • getUpdatedBy

      public TLfnUser getUpdatedBy()
      Returns the user who last modified the job.
      Returns:
      the user who last modified the job
    • equals

      public boolean equals(Object aO)
      Indicates whether some other object is "equal to" this ALfnJob. If the other object is also an ALfnJob of the same subclass type, the job ids will be compared, false is returned otherwise.
      Overrides:
      equals in class Object
      Returns:
      {true} is the other object is equal to this job, false otherwise.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object