Class AirflowTask

All Implemented Interfaces:
IAirflow, IAirflowTask, IAsset, ICatalog, IReferenceable, AuditDetail, Serializable, Comparable<Reference>

@Generated("com.atlan.generators.ModelGeneratorV2") public class AirflowTask extends Asset implements IAirflowTask, IAirflow, ICatalog, IAsset, IReferenceable
Instance of an Airflow task in Atlan.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • trimToReference

      public AirflowTask trimToReference() throws InvalidRequestException
      Builds the minimal object necessary to create a relationship to a AirflowTask, from a potentially more-complete AirflowTask object.
      Overrides:
      trimToReference in class Asset
      Returns:
      the minimal object necessary to relate to the AirflowTask
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for a AirflowTask relationship are not found in the initial object
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select()
      Start a fluent search that will return all AirflowTask assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) AirflowTask assets will be included.
      Returns:
      a fluent search that includes all AirflowTask assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client)
      Start a fluent search that will return all AirflowTask assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) AirflowTask assets will be included.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      Returns:
      a fluent search that includes all AirflowTask assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(boolean includeArchived)
      Start a fluent search that will return all AirflowTask assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      includeArchived - when true, archived (soft-deleted) AirflowTasks will be included
      Returns:
      a fluent search that includes all AirflowTask assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client, boolean includeArchived)
      Start a fluent search that will return all AirflowTask assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      includeArchived - when true, archived (soft-deleted) AirflowTasks will be included
      Returns:
      a fluent search that includes all AirflowTask assets
    • refByGuid

      public static AirflowTask refByGuid(String guid)
      Reference to a AirflowTask by GUID. Use this to create a relationship to this AirflowTask, where the relationship should be replaced.
      Parameters:
      guid - the GUID of the AirflowTask to reference
      Returns:
      reference to a AirflowTask that can be used for defining a relationship to a AirflowTask
    • refByGuid

      public static AirflowTask refByGuid(String guid, Reference.SaveSemantic semantic)
      Reference to a AirflowTask by GUID. Use this to create a relationship to this AirflowTask, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      guid - the GUID of the AirflowTask to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a AirflowTask that can be used for defining a relationship to a AirflowTask
    • refByQualifiedName

      public static AirflowTask refByQualifiedName(String qualifiedName)
      Reference to a AirflowTask by qualifiedName. Use this to create a relationship to this AirflowTask, where the relationship should be replaced.
      Parameters:
      qualifiedName - the qualifiedName of the AirflowTask to reference
      Returns:
      reference to a AirflowTask that can be used for defining a relationship to a AirflowTask
    • refByQualifiedName

      public static AirflowTask refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic)
      Reference to a AirflowTask by qualifiedName. Use this to create a relationship to this AirflowTask, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      qualifiedName - the qualifiedName of the AirflowTask to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a AirflowTask that can be used for defining a relationship to a AirflowTask
    • get

      public static AirflowTask get(String id) throws AtlanException
      Retrieves a AirflowTask by one of its identifiers, complete with all of its relationships.
      Parameters:
      id - of the AirflowTask to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full AirflowTask, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the AirflowTask does not exist or the provided GUID is not a AirflowTask
    • get

      public static AirflowTask get(AtlanClient client, String id) throws AtlanException
      Retrieves a AirflowTask by one of its identifiers, complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the AirflowTask to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full AirflowTask, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the AirflowTask does not exist or the provided GUID is not a AirflowTask
    • get

      public static AirflowTask get(AtlanClient client, String id, boolean includeRelationships) throws AtlanException
      Retrieves a AirflowTask by one of its identifiers, optionally complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the AirflowTask to retrieve, either its GUID or its full qualifiedName
      includeRelationships - if true, all of the asset's relationships will also be retrieved; if false, no relationships will be retrieved
      Returns:
      the requested full AirflowTask, optionally complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the AirflowTask does not exist or the provided GUID is not a AirflowTask
    • restore

      public static boolean restore(String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) AirflowTask to active.
      Parameters:
      qualifiedName - for the AirflowTask
      Returns:
      true if the AirflowTask is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • restore

      public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) AirflowTask to active.
      Parameters:
      client - connectivity to the Atlan tenant on which to restore the asset
      qualifiedName - for the AirflowTask
      Returns:
      true if the AirflowTask is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • creator

      public static AirflowTask.AirflowTaskBuilder<?,?> creator(String name, AirflowDag airflowDag) throws InvalidRequestException
      Builds the minimal object necessary to create an AirflowTask.
      Parameters:
      name - of the AirflowTask
      airflowDag - in which the AirflowTask should be created, which must have at least a qualifiedName
      Returns:
      the minimal request necessary to create the AirflowTask, as a builder
      Throws:
      InvalidRequestException - if the AirflowDag provided is without a qualifiedName
    • creator

      public static AirflowTask.AirflowTaskBuilder<?,?> creator(String name, String airflowDagQualifiedName)
      Builds the minimal object necessary to create an AirflowTask.
      Parameters:
      name - of the AirflowTask
      airflowDagQualifiedName - unique name of the DAG through which the task is accessible
      Returns:
      the minimal object necessary to create the AirflowTask, as a builder
    • updater

      public static AirflowTask.AirflowTaskBuilder<?,?> updater(String qualifiedName, String name)
      Builds the minimal object necessary to update a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the minimal request necessary to update the AirflowTask, as a builder
    • trimToRequired

      public AirflowTask.AirflowTaskBuilder<?,?> trimToRequired() throws InvalidRequestException
      Builds the minimal object necessary to apply an update to a AirflowTask, from a potentially more-complete AirflowTask object.
      Overrides:
      trimToRequired in class Asset
      Returns:
      the minimal object necessary to update the AirflowTask, as a builder
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for AirflowTask are not found in the initial object
    • removeDescription

      public static AirflowTask removeDescription(String qualifiedName, String name) throws AtlanException
      Remove the system description from a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeDescription

      public static AirflowTask removeDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the system description from a AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static AirflowTask removeUserDescription(String qualifiedName, String name) throws AtlanException
      Remove the user's description from a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static AirflowTask removeUserDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the user's description from a AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static AirflowTask removeOwners(String qualifiedName, String name) throws AtlanException
      Remove the owners from a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static AirflowTask removeOwners(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the owners from a AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the AirflowTask's owners
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static AirflowTask updateCertificate(String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated AirflowTask, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static AirflowTask updateCertificate(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the AirflowTask's certificate
      qualifiedName - of the AirflowTask
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated AirflowTask, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static AirflowTask removeCertificate(String qualifiedName, String name) throws AtlanException
      Remove the certificate from a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static AirflowTask removeCertificate(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the certificate from a AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the AirflowTask's certificate
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static AirflowTask updateAnnouncement(String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static AirflowTask updateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the AirflowTask's announcement
      qualifiedName - of the AirflowTask
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static AirflowTask removeAnnouncement(String qualifiedName, String name) throws AtlanException
      Remove the announcement from a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static AirflowTask removeAnnouncement(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the announcement from a AirflowTask.
      Parameters:
      client - connectivity to the Atlan client from which to remove the AirflowTask's announcement
      qualifiedName - of the AirflowTask
      name - of the AirflowTask
      Returns:
      the updated AirflowTask, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static AirflowTask replaceTerms(String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the AirflowTask.
      Parameters:
      qualifiedName - for the AirflowTask
      name - human-readable name of the AirflowTask
      terms - the list of terms to replace on the AirflowTask, or null to remove all terms from the AirflowTask
      Returns:
      the AirflowTask that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static AirflowTask replaceTerms(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant on which to replace the AirflowTask's assigned terms
      qualifiedName - for the AirflowTask
      name - human-readable name of the AirflowTask
      terms - the list of terms to replace on the AirflowTask, or null to remove all terms from the AirflowTask
      Returns:
      the AirflowTask that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static AirflowTask appendTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the AirflowTask, without replacing existing terms linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing terms, and a second to append the new terms.
      Parameters:
      qualifiedName - for the AirflowTask
      terms - the list of terms to append to the AirflowTask
      Returns:
      the AirflowTask that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static AirflowTask appendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the AirflowTask, without replacing existing terms linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing terms, and a second to append the new terms.
      Parameters:
      client - connectivity to the Atlan tenant on which to append terms to the AirflowTask
      qualifiedName - for the AirflowTask
      terms - the list of terms to append to the AirflowTask
      Returns:
      the AirflowTask that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static AirflowTask removeTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a AirflowTask, without replacing all existing terms linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing terms, and a second to remove the provided terms.
      Parameters:
      qualifiedName - for the AirflowTask
      terms - the list of terms to remove from the AirflowTask, which must be referenced by GUID
      Returns:
      the AirflowTask that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static AirflowTask removeTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a AirflowTask, without replacing all existing terms linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing terms, and a second to remove the provided terms.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove terms from the AirflowTask
      qualifiedName - for the AirflowTask
      terms - the list of terms to remove from the AirflowTask, which must be referenced by GUID
      Returns:
      the AirflowTask that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static AirflowTask appendAtlanTags(String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a AirflowTask, without replacing existing Atlan tags linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the AirflowTask
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated AirflowTask
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static AirflowTask appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a AirflowTask, without replacing existing Atlan tags linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the AirflowTask
      qualifiedName - of the AirflowTask
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated AirflowTask
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static AirflowTask appendAtlanTags(String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a AirflowTask, without replacing existing Atlan tags linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the AirflowTask
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated AirflowTask
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static AirflowTask appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a AirflowTask, without replacing existing Atlan tags linked to the AirflowTask. Note: this operation must make two API calls — one to retrieve the AirflowTask's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the AirflowTask
      qualifiedName - of the AirflowTask
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated AirflowTask
      Throws:
      AtlanException - on any API problems
    • removeAtlanTag

      public static void removeAtlanTag(String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a AirflowTask.
      Parameters:
      qualifiedName - of the AirflowTask
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the AirflowTask
    • removeAtlanTag

      public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a AirflowTask.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove an Atlan tag from a AirflowTask
      qualifiedName - of the AirflowTask
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the AirflowTask
    • _internal

      public static AirflowTask.AirflowTaskBuilder<?,?> _internal()
    • toBuilder

      public AirflowTask.AirflowTaskBuilder<?,?> toBuilder()
      Overrides:
      toBuilder in class Reference
    • getAirflowDag

      public IAirflowDag getAirflowDag()
      DAG in which this task exists.
      Specified by:
      getAirflowDag in interface IAirflowTask
    • getAirflowDagName

      public String getAirflowDagName()
      Simple name of the DAG this task is contained within.
      Specified by:
      getAirflowDagName in interface IAirflowTask
    • getAirflowDagQualifiedName

      public String getAirflowDagQualifiedName()
      Unique name of the DAG this task is contained within.
      Specified by:
      getAirflowDagQualifiedName in interface IAirflowTask
    • getAirflowRunEndTime

      public Long getAirflowRunEndTime()
      End time of the run.
      Specified by:
      getAirflowRunEndTime in interface IAirflow
      Specified by:
      getAirflowRunEndTime in interface IAirflowTask
    • getAirflowRunName

      public String getAirflowRunName()
      Name of the run.
      Specified by:
      getAirflowRunName in interface IAirflow
      Specified by:
      getAirflowRunName in interface IAirflowTask
    • getAirflowRunOpenLineageState

      public OpenLineageRunState getAirflowRunOpenLineageState()
      State of the run in OpenLineage.
      Specified by:
      getAirflowRunOpenLineageState in interface IAirflow
      Specified by:
      getAirflowRunOpenLineageState in interface IAirflowTask
    • getAirflowRunOpenLineageVersion

      public String getAirflowRunOpenLineageVersion()
      Version of the run in OpenLineage.
      Specified by:
      getAirflowRunOpenLineageVersion in interface IAirflow
      Specified by:
      getAirflowRunOpenLineageVersion in interface IAirflowTask
    • getAirflowRunStartTime

      public Long getAirflowRunStartTime()
      Start time of the run.
      Specified by:
      getAirflowRunStartTime in interface IAirflow
      Specified by:
      getAirflowRunStartTime in interface IAirflowTask
    • getAirflowRunType

      public String getAirflowRunType()
      Type of the run.
      Specified by:
      getAirflowRunType in interface IAirflow
      Specified by:
      getAirflowRunType in interface IAirflowTask
    • getAirflowRunVersion

      public String getAirflowRunVersion()
      Version of the run in Airflow.
      Specified by:
      getAirflowRunVersion in interface IAirflow
      Specified by:
      getAirflowRunVersion in interface IAirflowTask
    • getAirflowTags

      public SortedSet<String> getAirflowTags()
      Tags assigned to the asset in Airflow.
      Specified by:
      getAirflowTags in interface IAirflow
      Specified by:
      getAirflowTags in interface IAirflowTask
    • getAirflowTaskConnectionId

      public String getAirflowTaskConnectionId()
      Identifier for the connection this task accesses.
      Specified by:
      getAirflowTaskConnectionId in interface IAirflowTask
    • getAirflowTaskGroupName

      public String getAirflowTaskGroupName()
      Group name for the task.
      Specified by:
      getAirflowTaskGroupName in interface IAirflowTask
    • getAirflowTaskOperatorClass

      public String getAirflowTaskOperatorClass()
      Class name for the operator this task uses.
      Specified by:
      getAirflowTaskOperatorClass in interface IAirflowTask
    • getAirflowTaskPool

      public String getAirflowTaskPool()
      Pool on which this run happened.
      Specified by:
      getAirflowTaskPool in interface IAirflowTask
    • getAirflowTaskPoolSlots

      public Long getAirflowTaskPoolSlots()
      Pool slots used for the run.
      Specified by:
      getAirflowTaskPoolSlots in interface IAirflowTask
    • getAirflowTaskPriorityWeight

      public Long getAirflowTaskPriorityWeight()
      Priority of the run.
      Specified by:
      getAirflowTaskPriorityWeight in interface IAirflowTask
    • getAirflowTaskQueue

      public String getAirflowTaskQueue()
      Queue on which this run happened.
      Specified by:
      getAirflowTaskQueue in interface IAirflowTask
    • getAirflowTaskRetryNumber

      public Long getAirflowTaskRetryNumber()
      Retry count for this task running.
      Specified by:
      getAirflowTaskRetryNumber in interface IAirflowTask
    • getAirflowTaskSql

      public String getAirflowTaskSql()
      SQL code that executes through this task.
      Specified by:
      getAirflowTaskSql in interface IAirflowTask
    • getAirflowTaskTriggerRule

      public String getAirflowTaskTriggerRule()
      Trigger for the run.
      Specified by:
      getAirflowTaskTriggerRule in interface IAirflowTask
    • getApplicationContainer

      public IApplicationContainer getApplicationContainer()
      ApplicationContainer asset containing this Catalog asset.
      Specified by:
      getApplicationContainer in interface IAirflow
      Specified by:
      getApplicationContainer in interface IAirflowTask
      Specified by:
      getApplicationContainer in interface ICatalog
    • getAssetApplicationQualifiedName

      public String getAssetApplicationQualifiedName()
      Qualified name of the Application Container that contains this asset.
      Specified by:
      getAssetApplicationQualifiedName in interface IAirflow
      Specified by:
      getAssetApplicationQualifiedName in interface IAirflowTask
      Specified by:
      getAssetApplicationQualifiedName in interface ICatalog
    • getInputToAirflowTasks

      public SortedSet<IAirflowTask> getInputToAirflowTasks()
      Tasks to which this asset provides input.
      Specified by:
      getInputToAirflowTasks in interface IAirflow
      Specified by:
      getInputToAirflowTasks in interface IAirflowTask
      Specified by:
      getInputToAirflowTasks in interface ICatalog
    • getInputToProcesses

      public SortedSet<ILineageProcess> getInputToProcesses()
      Processes to which this asset provides input.
      Specified by:
      getInputToProcesses in interface IAirflow
      Specified by:
      getInputToProcesses in interface IAirflowTask
      Specified by:
      getInputToProcesses in interface ICatalog
    • getInputToSparkJobs

      public SortedSet<ISparkJob> getInputToSparkJobs()
      TBC
      Specified by:
      getInputToSparkJobs in interface IAirflow
      Specified by:
      getInputToSparkJobs in interface IAirflowTask
      Specified by:
      getInputToSparkJobs in interface ICatalog
    • getInputs

      public SortedSet<ICatalog> getInputs()
      Assets that are inputs to this task.
      Specified by:
      getInputs in interface IAirflowTask
    • getModelImplementedEntities

      public SortedSet<IModelEntity> getModelImplementedEntities()
      Entities implemented by this asset.
      Specified by:
      getModelImplementedEntities in interface IAirflow
      Specified by:
      getModelImplementedEntities in interface IAirflowTask
      Specified by:
      getModelImplementedEntities in interface ICatalog
    • getOutputFromAirflowTasks

      public SortedSet<IAirflowTask> getOutputFromAirflowTasks()
      Tasks from which this asset is output.
      Specified by:
      getOutputFromAirflowTasks in interface IAirflow
      Specified by:
      getOutputFromAirflowTasks in interface IAirflowTask
      Specified by:
      getOutputFromAirflowTasks in interface ICatalog
    • getOutputFromProcesses

      public SortedSet<ILineageProcess> getOutputFromProcesses()
      Processes from which this asset is produced as output.
      Specified by:
      getOutputFromProcesses in interface IAirflow
      Specified by:
      getOutputFromProcesses in interface IAirflowTask
      Specified by:
      getOutputFromProcesses in interface ICatalog
    • getOutputFromSparkJobs

      public SortedSet<ISparkJob> getOutputFromSparkJobs()
      TBC
      Specified by:
      getOutputFromSparkJobs in interface IAirflow
      Specified by:
      getOutputFromSparkJobs in interface IAirflowTask
      Specified by:
      getOutputFromSparkJobs in interface ICatalog
    • getOutputs

      public SortedSet<ICatalog> getOutputs()
      Assets that are outputs from this task.
      Specified by:
      getOutputs in interface IAirflowTask
    • getProcess

      public ILineageProcess getProcess()
      Process in which this task exists.
      Specified by:
      getProcess in interface IAirflowTask
    • equals

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

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

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

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

      public String getTypeName()
      Fixed typeName for AirflowTasks.
      Specified by:
      getTypeName in interface AuditDetail
      Specified by:
      getTypeName in interface IAirflow
      Specified by:
      getTypeName in interface IAirflowTask
      Specified by:
      getTypeName in interface IAsset
      Specified by:
      getTypeName in interface ICatalog
      Specified by:
      getTypeName in interface IReferenceable
      Overrides:
      getTypeName in class Reference