public class WorkflowSchemeDraftsApi extends Object
| Constructor and Description |
|---|
WorkflowSchemeDraftsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<WorkflowScheme> |
createWorkflowSchemeDraftFromParent(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create draft workflow scheme
Create a draft workflow scheme from an active workflow scheme, by copying the active workflow scheme.
|
io.reactivex.Single<WorkflowScheme> |
deleteDraftDefaultWorkflow(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete draft default workflow
Resets the default workflow for a workflow scheme's draft.
|
io.reactivex.Completable |
deleteDraftWorkflowMapping(Long id,
String workflowName,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete issue types for workflow in draft workflow scheme
Deletes the workflow-issue type mapping for a workflow in a workflow scheme's draft.
|
io.reactivex.Completable |
deleteWorkflowSchemeDraft(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete draft workflow scheme
Deletes a draft workflow scheme.
|
io.reactivex.Single<WorkflowScheme> |
deleteWorkflowSchemeDraftIssueType(Long id,
String issueType,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete workflow for issue type in draft workflow scheme
Deletes the issue type-workflow mapping for an issue type in a workflow scheme's draft.
|
io.reactivex.Single<DefaultWorkflow> |
getDraftDefaultWorkflow(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get draft default workflow
Returns the default workflow for a workflow scheme's draft.
|
io.reactivex.Single<IssueTypesWorkflowMapping> |
getDraftWorkflow(Long id,
Optional<String> workflowName,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue types for workflows in draft workflow scheme
Returns the workflow-issue type mappings for a workflow scheme's draft.
|
io.reactivex.Single<WorkflowScheme> |
getWorkflowSchemeDraft(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get draft workflow scheme
Returns the draft workflow scheme for an active workflow scheme.
|
io.reactivex.Single<IssueTypeWorkflowMapping> |
getWorkflowSchemeDraftIssueType(Long id,
String issueType,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get workflow for issue type in draft workflow scheme
Returns the issue type-workflow mapping for an issue type in a workflow scheme's draft.
|
io.reactivex.Single<WorkflowScheme> |
setWorkflowSchemeDraftIssueType(Long id,
String issueType,
IssueTypeWorkflowMapping issueTypeWorkflowMapping,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set workflow for issue type in draft workflow scheme
Sets the workflow for an issue type in a workflow scheme's draft.
|
io.reactivex.Single<WorkflowScheme> |
updateDraftDefaultWorkflow(Long id,
DefaultWorkflow defaultWorkflow,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update draft default workflow
Sets the default workflow for a workflow scheme's draft.
|
io.reactivex.Single<WorkflowScheme> |
updateDraftWorkflowMapping(Long id,
String workflowName,
IssueTypesWorkflowMapping issueTypesWorkflowMapping,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set issue types for workflow in workflow scheme
Sets the issue types for a workflow in a workflow scheme's draft.
|
io.reactivex.Single<WorkflowScheme> |
updateWorkflowSchemeDraft(Long id,
WorkflowScheme workflowScheme,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update draft workflow scheme
Updates a draft workflow scheme.
|
public WorkflowSchemeDraftsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<WorkflowScheme> createWorkflowSchemeDraftFromParent(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the active workflow scheme that the draft is created from. (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<WorkflowScheme> deleteDraftDefaultWorkflow(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (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.Completable deleteDraftWorkflowMapping(Long id, String workflowName, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (required)workflowName - The name of the workflow. (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.Completable deleteWorkflowSchemeDraft(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the active workflow scheme that the draft was created from. (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<WorkflowScheme> deleteWorkflowSchemeDraftIssueType(Long id, String issueType, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (required)issueType - The ID of the issue type. (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<DefaultWorkflow> getDraftDefaultWorkflow(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (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<IssueTypesWorkflowMapping> getDraftWorkflow(Long id, Optional<String> workflowName, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (required)workflowName - The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow. (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<WorkflowScheme> getWorkflowSchemeDraft(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the active workflow scheme that the draft was created from. (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<IssueTypeWorkflowMapping> getWorkflowSchemeDraftIssueType(Long id, String issueType, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (required)issueType - The ID of the issue type. (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<WorkflowScheme> setWorkflowSchemeDraftIssueType(Long id, String issueType, IssueTypeWorkflowMapping issueTypeWorkflowMapping, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (required)issueType - The ID of the issue type. (required)issueTypeWorkflowMapping - The issue type-project mapping. (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<WorkflowScheme> updateDraftDefaultWorkflow(Long id, DefaultWorkflow defaultWorkflow, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (required)defaultWorkflow - The object for the new default workflow. (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<WorkflowScheme> updateDraftWorkflowMapping(Long id, String workflowName, IssueTypesWorkflowMapping issueTypesWorkflowMapping, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the workflow scheme that the draft belongs to. (required)workflowName - The name of the workflow. (required)issueTypesWorkflowMapping - (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<WorkflowScheme> updateWorkflowSchemeDraft(Long id, WorkflowScheme workflowScheme, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the active workflow scheme that the draft was created from. (required)workflowScheme - (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.