public class WorkflowStatusesValidator extends Object
| Constructor and Description |
|---|
WorkflowStatusesValidator(JiraAuthenticationContext jiraAuthenticationContext,
com.atlassian.event.api.EventPublisher eventPublisher,
WorkflowIssueCountValidator workflowIssueCountValidator) |
| Modifier and Type | Method and Description |
|---|---|
ServiceResult |
validateStatusDelete(ApplicationUser user,
JiraWorkflow mutableWorkflow,
String statusId)
Validates if status can be deleted from workflow by user.
|
ServiceResult |
validateStatusDeleteWhenOverwriteWorkflow(ApplicationUser user,
JiraWorkflow liveWorkflow,
String statusId) |
public WorkflowStatusesValidator(JiraAuthenticationContext jiraAuthenticationContext, com.atlassian.event.api.EventPublisher eventPublisher, WorkflowIssueCountValidator workflowIssueCountValidator)
public ServiceResult validateStatusDelete(ApplicationUser user, @NotNull JiraWorkflow mutableWorkflow, String statusId)
user - mutableWorkflow - statusId - public ServiceResult validateStatusDeleteWhenOverwriteWorkflow(ApplicationUser user, @NotNull JiraWorkflow liveWorkflow, String statusId)
Copyright © 2002-2018 Atlassian. All Rights Reserved.