com.atlassian.jira.workflow.function.issue
Class UpdateNotNullIssueFieldFunction

java.lang.Object
  extended by com.atlassian.jira.workflow.WorkflowFunctionUtils
      extended by com.atlassian.jira.workflow.function.issue.AbstractJiraFunctionProvider
          extended by com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
              extended by com.atlassian.jira.workflow.function.issue.UpdateNotNullIssueFieldFunction
All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider

public class UpdateNotNullIssueFieldFunction
extends UpdateIssueFieldFunction


Field Summary
 
Fields inherited from class com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
DEFAULT_VALUE, UNASSIGNED_VALUE
 
Fields inherited from class com.atlassian.jira.workflow.WorkflowFunctionUtils
ORIGINAL_ISSUE_KEY, ORIGNAL_ISSUE_KEY
 
Constructor Summary
UpdateNotNullIssueFieldFunction()
           
 
Method Summary
 void execute(Map transientVars, Map args, com.opensymphony.module.propertyset.PropertySet ps)
          Takes a name (vars.key) of a transient var in the args map If the modified fields of the issue contains that the field id stored in "vars.key" set the field value as the field.value and call the super method to update the issue field function.
 
Methods inherited from class com.atlassian.jira.workflow.function.issue.UpdateIssueFieldFunction
makeDescriptor
 
Methods inherited from class com.atlassian.jira.workflow.function.issue.AbstractJiraFunctionProvider
getIssue
 
Methods inherited from class com.atlassian.jira.workflow.WorkflowFunctionUtils
getCaller, getCallerKey, getCallerName, getCallerUser, getCallerUserFromArgs, populateParamsWithUser, populateParamsWithUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateNotNullIssueFieldFunction

public UpdateNotNullIssueFieldFunction()
Method Detail

execute

public void execute(Map transientVars,
                    Map args,
                    com.opensymphony.module.propertyset.PropertySet ps)
             throws com.opensymphony.workflow.WorkflowException
Takes a name (vars.key) of a transient var in the args map If the modified fields of the issue contains that the field id stored in "vars.key" set the field value as the field.value and call the super method to update the issue field function.

Specified by:
execute in interface com.opensymphony.workflow.FunctionProvider
Overrides:
execute in class UpdateIssueFieldFunction
Throws:
com.opensymphony.workflow.WorkflowException


Copyright © 2002-2013 Atlassian. All Rights Reserved.