public interface WorkflowTransition
Modifier and Type | Interface and Description |
---|---|
static class |
WorkflowTransition.Tabs |
Modifier and Type | Method and Description |
---|---|
WorkflowTransition |
addWorkflowCondition(String workflowConditionKey)
Add workflow condition with given workflowConditionKey to the transition.
|
WorkflowTransition |
addWorkflowCondition(String workflowConditionKey,
Map<String,String> configFormParams)
Add workflow condition with given workflowConditionKey to the transition.
|
WorkflowTransition |
addWorkflowFunction(String workflowFunctionKey)
Add workflow function with given workflowFunctionKey to the transition.
|
WorkflowTransition |
addWorkflowFunction(String workflowFunctionKey,
Map<String,String> configFormParams)
Add workflow function with given workflowFunctionKey to the transition.
|
WorkflowTransition |
addWorkflowValidator(String workflowValidatorKey)
Add workflow validator with given workflowValidatorKey to the transition.
|
WorkflowTransition |
addWorkflowValidator(String workflowValidatorKey,
Map<String,String> configFormParams)
Add workflow validator with given workflowValidatorKey to the transition.
|
boolean |
canAddWorkflowCondition(String workflowConditionKey)
Check if condition with given workflowConditionKey can be added to this transition, i.e.
|
boolean |
canAddWorkflowFunction(String workflowFunctionKey)
Check if function with given workflowFunctionKey can be added to this transition, i.e.
|
boolean |
canAddWorkflowValidator(String workflowValidatorKey)
Check if validator with given workflowValidatorKey can be added to this transition, i.e.
|
WorkflowTransition |
goToAddWorkflowCondition()
Go to the 'Add Workflow Condition' form where user can choose between available workflow conditions to add to
the transition.
|
WorkflowTransition |
goToAddWorkflowFunction()
Go to the 'Add Workflow Function' form where user can choose between available workflow functions to add to
the transition.
|
WorkflowTransition |
goToAddWorkflowValidator()
Go to the 'Add Workflow Validator' form where user can choose among available workflow validators to add to
the transition.
|
boolean |
isTabOpen(WorkflowTransition.Tabs tab)
Check if given tab is currently open
|
WorkflowTransition |
openTab(WorkflowTransition.Tabs tab)
Open given tab.
|
WorkflowTransition goToAddWorkflowCondition()
boolean canAddWorkflowCondition(String workflowConditionKey)
workflowConditionKey
- key of the condition to checktrue
, if condition can be added to this transitionWorkflowTransition addWorkflowCondition(String workflowConditionKey)
addWorkflowCondition(String, java.util.Map)
.workflowConditionKey
- full plugin key of the workflow condition to addWorkflowTransition addWorkflowCondition(String workflowConditionKey, Map<String,String> configFormParams)
workflowConditionKey
- full plugin key of the workflow condition to addconfigFormParams
- form parameters to fill the configure condition screenWorkflowTransition goToAddWorkflowValidator()
boolean canAddWorkflowValidator(String workflowValidatorKey)
workflowValidatorKey
- key of the validator to checktrue
, if condition can be added to this transitionWorkflowTransition addWorkflowValidator(String workflowValidatorKey)
addWorkflowValidator(String, java.util.Map)
.workflowValidatorKey
- full plugin key of the workflow validator to addWorkflowTransition addWorkflowValidator(String workflowValidatorKey, Map<String,String> configFormParams)
workflowValidatorKey
- full plugin key of the workflow validator to addconfigFormParams
- form parameters to fill the configure validator screenboolean canAddWorkflowFunction(String workflowFunctionKey)
workflowFunctionKey
- key of the function to checktrue
, if condition can be added to this transitionWorkflowTransition goToAddWorkflowFunction()
WorkflowTransition addWorkflowFunction(String workflowFunctionKey)
addWorkflowFunction(String, java.util.Map)
.workflowFunctionKey
- full plugin key of the workflow function to addWorkflowTransition addWorkflowFunction(String workflowFunctionKey, Map<String,String> configFormParams)
addWorkflowFunction(String)
instead, or pass empty map.workflowFunctionKey
- full plugin key of the workflow function to addconfigFormParams
- form parameters to fill the configure function screenboolean isTabOpen(WorkflowTransition.Tabs tab)
tab
- tab to checktrue
, if given tab is currently openWorkflowTransition openTab(WorkflowTransition.Tabs tab)
tab
- tab to openCopyright © 2002-2024 Atlassian. All Rights Reserved.