public class WorkflowTransitionRulesApi extends Object
| Constructor and Description |
|---|
WorkflowTransitionRulesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<PageBeanWorkflowTransitionRules> |
getWorkflowTransitionRuleConfigurations(List<String> types,
Optional<Long> startAt,
Optional<Integer> maxResults,
Optional<List<String>> keys,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get workflow transition rule configurations
Returns a [paginated](#pagination) list of workflows with transition rules.
|
io.reactivex.Single<WorkflowTransitionRulesUpdateErrors> |
updateWorkflowTransitionRuleConfigurations(WorkflowTransitionRulesUpdate workflowTransitionRulesUpdate,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update workflow transition rule configurations
Updates configuration of workflow transition rules.
|
public WorkflowTransitionRulesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<PageBeanWorkflowTransitionRules> getWorkflowTransitionRuleConfigurations(List<String> types, Optional<Long> startAt, Optional<Integer> maxResults, Optional<List<String>> keys, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
types - The types of the transition rules to return. (required)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 10)keys - The transition rule class keys, as defined in the Connect app descriptor, of the transition rules to return. (optional, default to new ArrayList<>())expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts `transition`, which, for each rule, returns information about the transition the rule is assigned to. (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<WorkflowTransitionRulesUpdateErrors> updateWorkflowTransitionRuleConfigurations(WorkflowTransitionRulesUpdate workflowTransitionRulesUpdate, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
workflowTransitionRulesUpdate - (required)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.