@PublicApi
public interface WorkflowTransitionUtil
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_COMMENT |
static String |
FIELD_COMMENT_GROUP_LEVEL |
static String |
FIELD_COMMENT_LEVEL |
static String |
FIELD_COMMENT_ROLE_LEVEL |
static String |
VIEW_COMMENTASSIGN |
static Long |
VIEW_COMMENTASSIGN_ID |
static String |
VIEW_RESOLVE |
static Long |
VIEW_RESOLVE_ID |
static String |
VIEW_SCREEN |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalInput(Object key,
Object val)
Pass a parameter into the action's "transientVars" parameter.
|
com.opensymphony.workflow.loader.ActionDescriptor |
getActionDescriptor() |
FieldScreenRenderer |
getFieldScreenRenderer() |
String |
getUserKey()
Gets key of user who the workflow transition will be executed as
|
String |
getUsername()
Deprecated.
Use
getUserKey() instead. Since v6.0. |
boolean |
hasScreen()
Checks if there's a screen associated with the workflow action for this transition.
|
ErrorCollection |
progress() |
void |
setAction(int actionId) |
void |
setIssue(MutableIssue issue) |
void |
setParams(Map params) |
void |
setUserkey(String userkey)
Sets key of user who the workflow transition will be executed as
|
void |
setUsername(String username)
Deprecated.
Use
setUserkey(String) instead. Since v6.0. |
ErrorCollection |
validate() |
static final String VIEW_RESOLVE
static final String VIEW_COMMENTASSIGN
static final String VIEW_SCREEN
static final String FIELD_COMMENT
static final String FIELD_COMMENT_LEVEL
static final String FIELD_COMMENT_ROLE_LEVEL
static final String FIELD_COMMENT_GROUP_LEVEL
static final Long VIEW_COMMENTASSIGN_ID
static final Long VIEW_RESOLVE_ID
void setIssue(MutableIssue issue)
void setAction(int actionId)
void setParams(Map params)
void addAdditionalInput(Object key, Object val)
key
- val
- ErrorCollection validate()
ErrorCollection progress()
com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor()
String getUsername()
getUserKey()
instead. Since v6.0.void setUsername(String username)
setUserkey(String)
instead. Since v6.0.username
- desired usernameString getUserKey()
void setUserkey(String userkey)
userkey
- desired user's keyFieldScreenRenderer getFieldScreenRenderer()
boolean hasScreen()
Copyright © 2002-2019 Atlassian. All Rights Reserved.