public class WorkflowTransitionRulesApi extends Object
| Constructor and Description |
|---|
WorkflowTransitionRulesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<WorkflowTransitionRulesUpdateErrors> |
deleteWorkflowTransitionRuleConfigurations(WorkflowsWithTransitionRulesDetails workflowsWithTransitionRulesDetails,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete workflow transition rule configurations
Deletes workflow transition rules from one or more workflows.
|
io.reactivex.Single<PageBeanWorkflowTransitionRules> |
getWorkflowTransitionRuleConfigurations(List<String> types,
Optional<Long> startAt,
Optional<Integer> maxResults,
Optional<List<String>> keys,
Optional<List<String>> workflowNames,
Optional<List<String>> withTags,
Optional<Boolean> draft,
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<WorkflowTransitionRulesUpdateErrors> deleteWorkflowTransitionRuleConfigurations(WorkflowsWithTransitionRulesDetails workflowsWithTransitionRulesDetails, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
workflowsWithTransitionRulesDetails - (required)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<PageBeanWorkflowTransitionRules> getWorkflowTransitionRuleConfigurations(List<String> types, Optional<Long> startAt, Optional<Integer> maxResults, Optional<List<String>> keys, Optional<List<String>> workflowNames, Optional<List<String>> withTags, Optional<Boolean> draft, 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 or the Forge app descriptor, of the transition rules to return. (optional, default to new ArrayList<>())workflowNames - The list of workflow names to filter by. (optional, default to new ArrayList<>())withTags - The list of `tags` to filter by. (optional, default to new ArrayList<>())draft - Whether draft or published workflows are returned. If not provided, both workflow types are returned. (optional)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–2023 Everit Kft.. All rights reserved.