com.atlassian.jira.workflow
Class WorkflowFunctionUtils

java.lang.Object
  extended bycom.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.


Field Summary
static String ORIGNAL_ISSUE_KEY
           
 
Constructor Summary
WorkflowFunctionUtils()
           
 
Method Summary
protected  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
 

Field Detail

ORIGNAL_ISSUE_KEY

public static final String ORIGNAL_ISSUE_KEY
See Also:
Constant Field Values
Constructor Detail

WorkflowFunctionUtils

public WorkflowFunctionUtils()
Method Detail

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 User getCaller(Map transientVars,
                         Map args)
Get the User executing this condition.

Returns:
The User, or null if run anonymously.


Copyright © 2002-2007 Atlassian. All Rights Reserved.