Package com.atlassian.jira.workflow
Interface WorkflowTransitionUtil
- All Known Implementing Classes:
WorkflowTransitionUtilImpl
@PublicApi
public interface WorkflowTransitionUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalInput(Object key, Object val) Pass a parameter into the action's "transientVars" parameter.com.opensymphony.workflow.loader.ActionDescriptorGets key of user who the workflow transition will be executed asDeprecated.booleanChecks if there's a screen associated with the workflow action for this transition.progress()voidsetAction(int actionId) voidsetIssue(MutableIssue issue) voidvoidsetUserkey(String userkey) Sets key of user who the workflow transition will be executed asvoidsetUsername(String username) Deprecated.UsesetUserkey(String)instead.validate()
-
Field Details
-
VIEW_RESOLVE
- See Also:
-
VIEW_COMMENTASSIGN
- See Also:
-
VIEW_SCREEN
- See Also:
-
FIELD_COMMENT
- See Also:
-
FIELD_COMMENT_LEVEL
- See Also:
-
FIELD_COMMENT_ROLE_LEVEL
- See Also:
-
FIELD_COMMENT_GROUP_LEVEL
- See Also:
-
VIEW_COMMENTASSIGN_ID
-
VIEW_RESOLVE_ID
-
-
Method Details
-
setIssue
-
setAction
void setAction(int actionId) -
setParams
-
addAdditionalInput
Pass a parameter into the action's "transientVars" parameter.- Parameters:
key-val-
-
validate
ErrorCollection validate() -
progress
ErrorCollection progress() -
getActionDescriptor
com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor() -
getUsername
String getUsername()Deprecated.UsegetUserKey()instead. Since v6.0.Gets username of user who the workflow transition will be executed as- Returns:
- username
-
setUsername
Deprecated.UsesetUserkey(String)instead. Since v6.0.Sets username of user who the workflow transition will be executed as- Parameters:
username- desired username
-
getUserKey
String getUserKey()Gets key of user who the workflow transition will be executed as- Returns:
- username
-
setUserkey
Sets key of user who the workflow transition will be executed as- Parameters:
userkey- desired user's key
-
getFieldScreenRenderer
FieldScreenRenderer getFieldScreenRenderer() -
hasScreen
boolean hasScreen()Checks if there's a screen associated with the workflow action for this transition. Returns false if no screen is associated with the action.- Returns:
- true if a screen is associated with the current workflow action.
-
getUserKey()instead.