public class WorkflowsApi extends Object
| Constructor and Description |
|---|
WorkflowsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<List<DeprecatedWorkflow>> |
getAllWorkflows(Optional<String> workflowName,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deprecated.
|
io.reactivex.Single<PageBeanWorkflow> |
getWorkflowsPaginated(Optional<Long> startAt,
Optional<Integer> maxResults,
Optional<List<String>> workflowName,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get workflows paginated
Returns a [paginated](#pagination) list of published classic workflows.
|
public WorkflowsApi(org.everit.http.restclient.RestClient restClient)
@Deprecated public io.reactivex.Single<List<DeprecatedWorkflow>> getAllWorkflows(Optional<String> workflowName, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
workflowName - The name of the workflow to be returned. Only one workflow can be specified. (optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<PageBeanWorkflow> getWorkflowsPaginated(Optional<Long> startAt, Optional<Integer> maxResults, Optional<List<String>> workflowName, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
startAt - The index of the first item to return in a page of results (page offset). (optional, default to 0l)maxResults - The maximum number of items to return per page. (optional, default to 50)workflowName - The name of a workflow to return. (optional, default to new ArrayList<>())expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * `transitions` For each workflow, returns information about the transitions inside the workflow. * `transitions.rules` For each workflow transition, returns information about its rules. Transitions are included automatically if this expand is requested. * `statuses` For each workflow, returns information about the statuses inside the workflow. * `statuses.properties` For each workflow status, returns information about its properties. Statuses are included automatically if this expand is requested. (optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.