@PublicApi public final class WorkflowTransitionContextUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COUNT_KEY
The context key for the number of items in this tab.
|
static String |
TRANSITION_KEY
The context key for the workflow transition.
|
static String |
WORKFLOW_KEY
The context key for the workflow.
|
Modifier and Type | Method and Description |
---|---|
static Optional<com.opensymphony.workflow.loader.ActionDescriptor> |
getTransition(Map<String,Object> context)
Returns the transition from the given context.
|
static Optional<JiraWorkflow> |
getWorkflow(Map<String,Object> context)
Returns the workflow from the given context.
|
public static final String COUNT_KEY
public static final String TRANSITION_KEY
public static final String WORKFLOW_KEY
@Nonnull public static Optional<com.opensymphony.workflow.loader.ActionDescriptor> getTransition(@Nonnull Map<String,Object> context)
context
- the context from which to obtain the transition
"@Nonnull public static Optional<JiraWorkflow> getWorkflow(@Nonnull Map<String,Object> context)
context
- the context from which to obtain the workflow
"Copyright © 2002-2019 Atlassian. All Rights Reserved.