com.atlassian.jira.workflow.function
Class AInheritFromParentFunction

java.lang.Object
  extended by com.atlassian.jira.workflow.function.AInheritFromParentFunction
All Implemented Interfaces:
com.opensymphony.workflow.FunctionProvider
Direct Known Subclasses:
InheritAffectedVersionsFunction, InheritComponentsFunction, InheritFixVersionsFunction, InheritPriorityFunction

public abstract class AInheritFromParentFunction
extends java.lang.Object
implements com.opensymphony.workflow.FunctionProvider


Field Summary
protected  boolean storeModifiedFields
           
protected  boolean storeWithHistory
           
 
Constructor Summary
AInheritFromParentFunction()
           
 
Method Summary
 void execute(java.util.Map transientVars, java.util.Map args, com.opensymphony.module.propertyset.PropertySet ps)
           
protected abstract  void inheritFromParent(com.atlassian.jira.issue.MutableIssue _issue, com.atlassian.jira.issue.Issue _parent)
           
protected  void storeModifiedFields(java.util.Map transientVars, java.util.Map args, com.opensymphony.module.propertyset.PropertySet ps)
          storeModifiedFields with History
protected  void storeModifiedFields(com.atlassian.jira.issue.MutableIssue issue)
          storeModifiedFields without History
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storeModifiedFields

protected boolean storeModifiedFields

storeWithHistory

protected boolean storeWithHistory
Constructor Detail

AInheritFromParentFunction

public AInheritFromParentFunction()
Method Detail

execute

public void execute(java.util.Map transientVars,
                    java.util.Map args,
                    com.opensymphony.module.propertyset.PropertySet ps)
Specified by:
execute in interface com.opensymphony.workflow.FunctionProvider

storeModifiedFields

protected void storeModifiedFields(com.atlassian.jira.issue.MutableIssue issue)
storeModifiedFields without History

Parameters:
issue - Issue to Update

storeModifiedFields

protected void storeModifiedFields(java.util.Map transientVars,
                                   java.util.Map args,
                                   com.opensymphony.module.propertyset.PropertySet ps)
storeModifiedFields with History

Parameters:
transientVars -
args -
ps -

inheritFromParent

protected abstract void inheritFromParent(com.atlassian.jira.issue.MutableIssue _issue,
                                          com.atlassian.jira.issue.Issue _parent)


Copyright © 2007-2008 Kaamelot Plugins. All Rights Reserved.