Class AtlanTask

java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.tasks.AtlanTask
All Implemented Interfaces:
Serializable

public class AtlanTask extends AtlanObject
Detailed entry in the task queue. These objects should be treated as immutable.
See Also:
  • Field Details

    • TYPE

      public static final KeywordField TYPE
      Type of the task.
    • GUID

      public static final TextField GUID
      Unique identifier of the task.
    • CREATED_BY

      public static final KeywordField CREATED_BY
      User who created the task.
    • CREATED_TIME

      public static final NumericField CREATED_TIME
      Time (epoch) at which the task was created, in milliseconds.
    • UPDATED_TIME

      public static final NumericField UPDATED_TIME
      Time (epoch) at which the task was last updated, in milliseconds.
    • START_TIME

      public static final NumericField START_TIME
      Time (epoch) at which the task was started, in milliseconds.
    • END_TIME

      public static final NumericField END_TIME
      Time (epoch) at which the task was ended, in milliseconds.
    • TIME_TAKEN_IN_SECONDS

      public static final NumericField TIME_TAKEN_IN_SECONDS
      Total time taken to complete the task, in seconds.
    • ATTEMPT_COUNT

      public static final NumericField ATTEMPT_COUNT
      Number of times the task has been attempted.
    • STATUS

      public static final TextField STATUS
      Status of the task.
    • CLASSIFICATION_ID

      public static final KeywordField CLASSIFICATION_ID
      TBC
    • ENTITY_GUID

      public static final KeywordField ENTITY_GUID
      Unique identifier of the asset the task originated from.
  • Constructor Details

  • Method Details

    • builder

      public static AtlanTask.AtlanTaskBuilder<?,?> builder()
    • toBuilder

      public AtlanTask.AtlanTaskBuilder<?,?> toBuilder()
    • getType

      public AtlanTaskType getType()
      Type of the task.
    • getGuid

      public String getGuid()
      Unique identifier of the task.
    • getCreatedBy

      public String getCreatedBy()
      User who created the task.
    • getCreatedTime

      public Long getCreatedTime()
      Time (epoch) at which the task was created, in milliseconds.
    • getUpdatedTime

      public Long getUpdatedTime()
      Time (epoch) at which the task was last updated, in milliseconds.
    • getStartTime

      public Long getStartTime()
      Time (epoch) at which the task was started, in milliseconds.
    • getEndTime

      public Long getEndTime()
      Time (epoch) at which the task was ended, in milliseconds.
    • getTimeTakenInSeconds

      public Long getTimeTakenInSeconds()
      Total time taken to complete the task, in seconds.
    • getParameters

      public Map<String,Object> getParameters()
      Parameters used for running the task.
    • getAttemptCount

      public Long getAttemptCount()
      Number of times the task has been attempted.
    • getStatus

      public AtlanTaskStatus getStatus()
      Status of the task.
    • getClassificationId

      public String getClassificationId()
      TBC
    • getEntityGuid

      public String getEntityGuid()
      Unique identifier of the asset the task originated from.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanObject
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanObject
    • hashCode

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

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class AtlanObject