Class WorkflowSearchResult

java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.workflow.WorkflowSearchResult
All Implemented Interfaces:
Serializable

public class WorkflowSearchResult extends AtlanObject
Encapsulation of a single search result for workflows.
See Also:
  • Constructor Details

    • WorkflowSearchResult

      public WorkflowSearchResult()
  • Method Details

    • getStatus

      public AtlanWorkflowPhase getStatus()
      Retrieve the status of the workflow run.
    • rerun

      public WorkflowRunResponse rerun() throws AtlanException
      Re-run this workflow.
      Returns:
      details of the workflow run
      Throws:
      AtlanException - on any API communication issue
    • rerun

      public WorkflowRunResponse rerun(AtlanClient client) throws AtlanException
      Re-run this workflow.
      Parameters:
      client - connectivity to the Atlan tenant on which to rerun the workflow
      Returns:
      details of the workflow run
      Throws:
      AtlanException - on any API communication issue
    • rerun

      public WorkflowRunResponse rerun(boolean idempotent) throws AtlanException
      Re-run this workflow.
      Parameters:
      idempotent - if true, the workflow will only be rerun if it is not already currently running
      Returns:
      details of the workflow run (if idempotent, will return details of the already-running workflow)
      Throws:
      AtlanException - on any API communication issue
    • rerun

      public WorkflowRunResponse rerun(AtlanClient client, boolean idempotent) throws AtlanException
      Re-run this workflow.
      Parameters:
      client - connectivity to the Atlan tenant on which to rerun the workflow
      idempotent - if true, the workflow will only be rerun if it is not already currently running
      Returns:
      details of the workflow run (if idempotent, will return details of the already-running workflow)
      Throws:
      AtlanException - on any API communication issue
    • get_index

      public String get_index()
    • get_type

      public String get_type()
    • get_id

      public String get_id()
    • get_seq_no

      public Object get_seq_no()
    • get_primary_term

      public Object get_primary_term()
    • getSort

      public List<Object> getSort()
    • get_source

      public WorkflowSearchResultDetail get_source()
    • 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