Package com.atlan.api
Class WorkflowsEndpoint
java.lang.Object
com.atlan.api.AbstractEndpoint
com.atlan.api.HeraclesEndpoint
com.atlan.api.WorkflowsEndpoint
- Direct Known Subclasses:
PlaybooksEndpoint
API endpoints for operating on Atlan's workflows.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.api.AbstractEndpoint
AbstractEndpoint.RawResponse
-
Field Summary
Fields inherited from class com.atlan.api.AbstractEndpoint
client
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Archive (delete) the provided workflow.void
archive
(String workflowName, RequestOptions options) Archive (delete) the provided workflow.Run the provided workflow.run
(Workflow workflow, RequestOptions options) Run the provided workflow.run
(WorkflowSearchResultDetail workflow) Run the provided pre-existing workflow.run
(WorkflowSearchResultDetail workflow, RequestOptions options) Run the provided pre-existing workflow.search
(WorkflowSearchRequest request) Search for workflows that meet the provided criteria.search
(WorkflowSearchRequest request, RequestOptions options) Search for workflows that meet the provided criteria.searchRuns
(WorkflowSearchRequest request) Search for workflow runs that meet the provided criteria.searchRuns
(WorkflowSearchRequest request, RequestOptions options) Search for workflow runs that meet the provided criteria.Stop the provided, running workflow.stop
(String runName, RequestOptions options) Stop the provided, running workflow.Update a given workflow's configuration.update
(String workflowName, Workflow request, RequestOptions options) Update a given workflow's configuration.Methods inherited from class com.atlan.api.HeraclesEndpoint
getBaseUrl
Methods inherited from class com.atlan.api.AbstractEndpoint
getBaseUrl
-
Constructor Details
-
WorkflowsEndpoint
-
-
Method Details
-
run
Run the provided workflow.- Parameters:
workflow
- details of the workflow to run- Returns:
- details of the workflow run
- Throws:
AtlanException
- on any API communication issue
-
run
Run the provided workflow.- Parameters:
workflow
- details of the workflow to runoptions
- to override default client settings- Returns:
- details of the workflow run
- Throws:
AtlanException
- on any API communication issue
-
run
Run the provided pre-existing workflow.- Parameters:
workflow
- details of the pre-existing workflow to re-run- Returns:
- details of the workflow run
- Throws:
AtlanException
- on any API communication issue
-
run
public WorkflowRunResponse run(WorkflowSearchResultDetail workflow, RequestOptions options) throws AtlanException Run the provided pre-existing workflow.- Parameters:
workflow
- details of the pre-existing workflow to re-runoptions
- to override default client settings- Returns:
- details of the workflow run
- Throws:
AtlanException
- on any API communication issue
-
stop
Stop the provided, running workflow.- Parameters:
runName
- name of the workflow run to stop- Returns:
- details of the stopped workflow
- Throws:
AtlanException
- on any API communication issue
-
stop
Stop the provided, running workflow.- Parameters:
runName
- name of the workflow run to stopoptions
- to override default client settings- Returns:
- details of the stopped workflow
- Throws:
AtlanException
- on any API communication issue
-
archive
Archive (delete) the provided workflow.- Parameters:
workflowName
- the workflow to delete- Throws:
AtlanException
- on any API communication issue
-
archive
Archive (delete) the provided workflow.- Parameters:
workflowName
- the workflow to deleteoptions
- to override default client settings- Throws:
AtlanException
- on any API communication issue
-
searchRuns
Search for workflow runs that meet the provided criteria.- Parameters:
request
- criteria by which to find workflow runs- Returns:
- the matching workflow runs
- Throws:
AtlanException
- on any API communication issue
-
searchRuns
public WorkflowSearchResponse searchRuns(WorkflowSearchRequest request, RequestOptions options) throws AtlanException Search for workflow runs that meet the provided criteria.- Parameters:
request
- criteria by which to find workflow runsoptions
- to override default client settings- Returns:
- the matching workflow runs
- Throws:
AtlanException
- on any API communication issue
-
search
Search for workflows that meet the provided criteria.- Parameters:
request
- criteria by which to find workflows- Returns:
- the matching workflows
- Throws:
AtlanException
- on any API communication issue
-
search
public WorkflowSearchResponse search(WorkflowSearchRequest request, RequestOptions options) throws AtlanException Search for workflows that meet the provided criteria.- Parameters:
request
- criteria by which to find workflowsoptions
- to override default client settings- Returns:
- the matching workflows
- Throws:
AtlanException
- on any API communication issue
-
update
Update a given workflow's configuration.- Parameters:
workflowName
- name of the workflow to updaterequest
- full details of the workflow's revised configuration- Returns:
- the updated workflow configuration
- Throws:
AtlanException
- on any API communication issue
-
update
public Workflow update(String workflowName, Workflow request, RequestOptions options) throws AtlanException Update a given workflow's configuration.- Parameters:
workflowName
- name of the workflow to updaterequest
- full details of the workflow's revised configurationoptions
- to override default client settings- Returns:
- the updated workflow configuration
- Throws:
AtlanException
- on any API communication issue
-