Constructor and Description |
---|
DraftRestWorkflowScheme(WorkflowSchemeService workflowSchemeService,
ApplicationUser user,
WorkflowSchemeBeanFactory beanFactory,
AssignableWorkflowScheme parent,
DraftWorkflowScheme child) |
Modifier and Type | Method and Description |
---|---|
List<AssignableWorkflowScheme> |
ViewSchemes.getActiveWorkflowSchemes() |
List<AssignableWorkflowScheme> |
ViewSchemes.getInactiveWorkflowSchemes() |
Modifier and Type | Method and Description |
---|---|
DraftWorkflowScheme |
ViewSchemes.getDraftFor(AssignableWorkflowScheme scheme) |
List<Project> |
ViewSchemes.getProjects(AssignableWorkflowScheme scheme) |
Modifier and Type | Class and Description |
---|---|
class |
MockAssignableWorkflowScheme |
Modifier and Type | Method and Description |
---|---|
AssignableWorkflowScheme |
AssignableWorkflowScheme.Builder.build() |
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.cleanUpSchemeDraft(Project project,
ApplicationUser user) |
AssignableWorkflowScheme |
WorkflowSchemeManager.cleanUpSchemeDraft(Project project,
ApplicationUser user)
If the project's workflow scheme is only used by one project and if this scheme has a draft,
then the draft is copied to a separate scheme and deleted.
|
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.copyDraft(DraftWorkflowScheme draft,
ApplicationUser user,
String newDescription) |
AssignableWorkflowScheme |
WorkflowSchemeManager.copyDraft(DraftWorkflowScheme draft,
ApplicationUser user,
String newDescription) |
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.createScheme(AssignableWorkflowScheme workflowScheme) |
AssignableWorkflowScheme |
WorkflowSchemeManager.createScheme(AssignableWorkflowScheme workflowScheme)
Create a new workflow scheme.
|
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.getDefaultWorkflowScheme() |
AssignableWorkflowScheme |
WorkflowSchemeManager.getDefaultWorkflowScheme() |
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.getParentForDraft(long draftSchemeId) |
AssignableWorkflowScheme |
WorkflowSchemeManager.getParentForDraft(long draftSchemeId)
Return the original workflow scheme for the passed draft workflow scheme.
|
AssignableWorkflowScheme |
MockDraftWorkflowScheme.getParentScheme() |
AssignableWorkflowScheme |
MockDraftWorkflowScheme.MockBuilder.getParentScheme() |
AssignableWorkflowScheme |
DraftWorkflowSchemeBuilder.getParentScheme() |
AssignableWorkflowScheme |
DraftWorkflowScheme.getParentScheme()
Return a reference to the parent of the draft scheme.
|
AssignableWorkflowScheme |
DraftWorkflowScheme.Builder.getParentScheme() |
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.getWorkflowSchemeObj(long id) |
AssignableWorkflowScheme |
WorkflowSchemeManager.getWorkflowSchemeObj(long id)
Return the workflow scheme with the passed id.
|
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.getWorkflowSchemeObj(Project project) |
AssignableWorkflowScheme |
WorkflowSchemeManager.getWorkflowSchemeObj(Project project)
Return the workflow scheme associated with the passed project.
|
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.getWorkflowSchemeObj(String name) |
AssignableWorkflowScheme |
WorkflowSchemeManager.getWorkflowSchemeObj(String name)
Return the workflow scheme with the passed name.
|
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.updateWorkflowScheme(AssignableWorkflowScheme workflowScheme) |
AssignableWorkflowScheme |
WorkflowSchemeManager.updateWorkflowScheme(AssignableWorkflowScheme scheme)
Save changes to the passed workflow scheme.
|
Modifier and Type | Method and Description |
---|---|
Iterable<AssignableWorkflowScheme> |
DefaultWorkflowSchemeManager.getAssignableSchemes() |
Iterable<AssignableWorkflowScheme> |
WorkflowSchemeManager.getAssignableSchemes()
Return all the assignable workflow schemes.
|
static com.google.common.base.Function<AssignableWorkflowScheme,MockAssignableWorkflowScheme> |
MockAssignableWorkflowScheme.toMock() |
Modifier and Type | Method and Description |
---|---|
AssignableWorkflowSchemeStore.AssignableState |
MockAssignableWorkflowSchemeStore.addStateForScheme(AssignableWorkflowScheme scheme) |
DraftWorkflowScheme |
DefaultWorkflowSchemeManager.createDraftOf(ApplicationUser creator,
AssignableWorkflowScheme workflowScheme) |
DraftWorkflowScheme |
WorkflowSchemeManager.createDraftOf(ApplicationUser creator,
AssignableWorkflowScheme workflowScheme)
Create a draft for the passed workflow scheme.
|
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.createScheme(AssignableWorkflowScheme workflowScheme) |
AssignableWorkflowScheme |
WorkflowSchemeManager.createScheme(AssignableWorkflowScheme workflowScheme)
Create a new workflow scheme.
|
DraftWorkflowScheme.Builder |
DefaultWorkflowSchemeManager.draftBuilder(AssignableWorkflowScheme parent) |
DraftWorkflowScheme.Builder |
WorkflowSchemeManager.draftBuilder(AssignableWorkflowScheme parent)
Return a builder that can be used to create a new
DraftWorkflowScheme for the passed workflow scheme. |
DraftWorkflowScheme |
DefaultWorkflowSchemeManager.getDraftForParent(AssignableWorkflowScheme scheme) |
DraftWorkflowScheme |
WorkflowSchemeManager.getDraftForParent(AssignableWorkflowScheme workflowScheme)
Return the draft workflow scheme for the passed workflow scheme.
|
List<Project> |
DefaultWorkflowSchemeManager.getProjectsUsing(AssignableWorkflowScheme workflowScheme) |
List<Project> |
WorkflowSchemeManager.getProjectsUsing(AssignableWorkflowScheme workflowScheme)
Return the list of projects that use the passed workflow scheme.
|
boolean |
DefaultWorkflowSchemeManager.hasDraft(AssignableWorkflowScheme scheme) |
boolean |
WorkflowSchemeManager.hasDraft(AssignableWorkflowScheme workflowScheme)
Tells the caller if the passed workflow scheme has a draft.
|
MockDraftWorkflowScheme |
MockDraftWorkflowScheme.setParentScheme(AssignableWorkflowScheme parentScheme) |
AssignableWorkflowScheme |
DefaultWorkflowSchemeManager.updateWorkflowScheme(AssignableWorkflowScheme workflowScheme) |
AssignableWorkflowScheme |
WorkflowSchemeManager.updateWorkflowScheme(AssignableWorkflowScheme scheme)
Save changes to the passed workflow scheme.
|
<T> T |
DefaultWorkflowSchemeManager.waitForUpdatesToFinishAndExecute(AssignableWorkflowScheme scheme,
Callable<T> task) |
<T> T |
WorkflowSchemeManager.waitForUpdatesToFinishAndExecute(AssignableWorkflowScheme scheme,
Callable<T> task)
If the passed workflow scheme is currently being edited, then this method blocks until the editing is finished.
|
Constructor and Description |
---|
MockAssignableWorkflowScheme(AssignableWorkflowScheme scheme) |
MockBuilder(AssignableWorkflowScheme ws) |
MockDraftWorkflowScheme(Long l,
AssignableWorkflowScheme parentScheme) |
Modifier and Type | Method and Description |
---|---|
AssignableWorkflowSchemeMigrationHelper |
MigrationHelperFactory.createMigrationHelper(Project project,
AssignableWorkflowScheme scheme)
Create an instance of a
AssignableWorkflowSchemeMigrationHelper . |
AssignableWorkflowSchemeMigrationHelper |
DefaultMigrationHelperFactory.createMigrationHelper(Project project,
AssignableWorkflowScheme scheme) |
Copyright © 2002-2015 Atlassian. All Rights Reserved.