com.atlassian.jira.workflow.function
Interface ITransitionFunction

All Known Subinterfaces:
ITransitionValidator
All Known Implementing Classes:
AffectedVersionSelectionValidator, APropagateVersion, ATransitionFunction, ATransitionValidator, AVersionSelectionValidator, CombinedValidator, FixVersionSelectionValidator, PropagateAffectedVersionToSubTask, PropagateFixVersionToSubTask, RegExpCustomFieldValidator, ResolutionCommentValidator, WorkableIssueValidator

public interface ITransitionFunction


Method Summary
 com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor(java.util.Map transientVars)
           
 com.atlassian.jira.web.bean.I18nBean getI18nBean()
           
 com.opensymphony.workflow.InvalidInputException getInvalidInputException()
           
 com.atlassian.jira.issue.MutableIssue getIssue()
           
 com.atlassian.jira.issue.MutableIssue getIssue(java.util.Map transientVars)
           
 com.atlassian.jira.issue.fields.screen.FieldScreen getScreen()
           
 void init(java.util.Map transientVars, java.util.Map args, com.opensymphony.module.propertyset.PropertySet ps)
          Assume Validator initialisation
 void setInvalidInputException(com.opensymphony.workflow.InvalidInputException invalidInputException)
          Force Exception on Validator
 void throwOnError()
          Defaultly called by ATransitionFunction.validate()
 

Method Detail

init

void init(java.util.Map transientVars,
          java.util.Map args,
          com.opensymphony.module.propertyset.PropertySet ps)
          throws com.opensymphony.workflow.InvalidInputException,
                 com.opensymphony.workflow.WorkflowException
Assume Validator initialisation

Parameters:
transientVars -
args - Arguments issued from Validator Parameters in from Workflow Description
ps - PorpertySet
Throws:
com.opensymphony.workflow.InvalidInputException
com.opensymphony.workflow.WorkflowException

getScreen

com.atlassian.jira.issue.fields.screen.FieldScreen getScreen()

getActionDescriptor

com.opensymphony.workflow.loader.ActionDescriptor getActionDescriptor(java.util.Map transientVars)

getIssue

com.atlassian.jira.issue.MutableIssue getIssue()
Returns:
Issue concerned by the Validation

getIssue

com.atlassian.jira.issue.MutableIssue getIssue(java.util.Map transientVars)
Returns:
Issue concerned by the Validation

getI18nBean

com.atlassian.jira.web.bean.I18nBean getI18nBean()
Returns:
I18Bean in dependence with called validator

throwOnError

void throwOnError()
                  throws com.opensymphony.workflow.InvalidInputException
Defaultly called by ATransitionFunction.validate()

Throws:
com.opensymphony.workflow.InvalidInputException

getInvalidInputException

com.opensymphony.workflow.InvalidInputException getInvalidInputException()
Returns:
inner Exception built occured during validation

setInvalidInputException

void setInvalidInputException(com.opensymphony.workflow.InvalidInputException invalidInputException)
Force Exception on Validator

Parameters:
invalidInputException -


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