@ExperimentalApi
public interface ProjectWorkflowSchemeHelper
This is really an internal helper class for Project Configuration.
Modifier and Type | Method and Description |
---|---|
List<Project> |
getAllProjectsForScheme(Long schemeId)
Return a list of projects that use the workflow scheme with the passed query.
|
com.google.common.collect.Multimap<String,Project> |
getAllProjectsForWorkflow(Set<String> workflows)
Return a map of active workflow names to the projects that use those workflows.
|
List<Project> |
getAllProjectsForWorkflow(String workflowName)
Returns a list of the projects are currently using the passed workflow.
|
com.google.common.collect.Multimap<String,Project> |
getProjectsForWorkflow(Set<String> workflows)
Return a map of active workflow names to the projects that use those workflows.
|
List<Project> |
getProjectsForWorkflow(String workflowName)
Returns a list of the projects are currently using the passed workflow.
|
boolean |
isWorkflowIsolated(String workflowName)
Checks whether given workflow is used by only one project.
|
List<Project> getAllProjectsForScheme(Long schemeId)
schemeId
- the scheme id query. Null can be passed to search for the magical default workflow scheme.List<Project> getProjectsForWorkflow(String workflowName)
Only projects that the passed user can change the configurtion for will be returned.
workflowName
- the name of the workflow the check.List<Project> getAllProjectsForWorkflow(String workflowName)
Only projects that the passed user can change the configurtion for will be returned.
workflowName
- the name of the workflow the check.com.google.common.collect.Multimap<String,Project> getProjectsForWorkflow(Set<String> workflows)
Only projects that the passed user can change the configuration for will be returned.
workflows
- the workflows to query.com.google.common.collect.Multimap<String,Project> getAllProjectsForWorkflow(Set<String> workflows)
All projects will be returned, even projects which cannot be accessible by current user.
workflows
- the workflows to query.boolean isWorkflowIsolated(String workflowName)
workflowName
- workflow name.Copyright © 2002-2018 Atlassian. All Rights Reserved.