com.atlassian.jira.workflow
Class WorkflowFunctionUtils
java.lang.Object
com.atlassian.jira.workflow.WorkflowFunctionUtils
- Direct Known Subclasses:
- AbstractJiraCondition, AbstractJiraFunctionProvider
public class WorkflowFunctionUtils
- extends Object
Useful methods for JIRA OSWorkflow conditions and functions. Use the subclasses for real implementations.
Method Summary |
protected com.atlassian.crowd.embedded.api.User |
getCaller(Map transientVars,
Map args)
Get the User executing this condition. |
protected String |
getCallerName(Map transientVars,
Map args)
Get the name of the user executing this condition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORIGINAL_ISSUE_KEY
public static final String ORIGINAL_ISSUE_KEY
- See Also:
- Constant Field Values
ORIGNAL_ISSUE_KEY
public static final String ORIGNAL_ISSUE_KEY
- Deprecated. - typo in name, please use ORIGINAL_ISSUE_KEY. Deprecated since v4.0
- See Also:
- Constant Field Values
WorkflowFunctionUtils
public WorkflowFunctionUtils()
getCallerName
protected String getCallerName(Map transientVars,
Map args)
- Get the name of the user executing this condition.
- Returns:
- Username, or null if run anonymously.
getCaller
protected com.atlassian.crowd.embedded.api.User getCaller(Map transientVars,
Map args)
- Get the
User
executing this condition.
- Returns:
- The User, or null if run anonymously.
Copyright © 2002-2012 Atlassian. All Rights Reserved.