com.atlassian.jira.workflow.transition
Class DefaultTransitionManager

java.lang.Object
  extended by com.atlassian.jira.workflow.transition.DefaultTransitionManager
All Implemented Interfaces:
TransitionManager

public class DefaultTransitionManager
extends java.lang.Object
implements TransitionManager

Since:
3.10.1.3x
Version:
3.10.1.34
Author:
Kaamelot, Gustavo Martin (TransitionSummary part from JIRA Suite plugin)

Field Summary
static java.lang.String WF_CURRENT_STEP
           
static java.lang.String WF_HISTORY_STEP
           
 
Constructor Summary
DefaultTransitionManager()
           
 
Method Summary
protected  java.util.List getStatusChanges(com.atlassian.jira.issue.Issue issue, java.sql.Timestamp tsCreated)
           
 java.util.List getTransitions(org.ofbiz.core.entity.GenericValue _issue)
           
 java.util.List getTransitions(com.atlassian.jira.issue.Issue _issue)
           
 java.util.List getTransitions(java.lang.Long _entryId)
           
 java.util.List getTransitionSummary(com.atlassian.jira.issue.Issue issue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WF_CURRENT_STEP

public static java.lang.String WF_CURRENT_STEP

WF_HISTORY_STEP

public static java.lang.String WF_HISTORY_STEP
Constructor Detail

DefaultTransitionManager

public DefaultTransitionManager()
Method Detail

getTransitions

public java.util.List getTransitions(com.atlassian.jira.issue.Issue _issue)
Specified by:
getTransitions in interface TransitionManager

getTransitions

public java.util.List getTransitions(org.ofbiz.core.entity.GenericValue _issue)
Specified by:
getTransitions in interface TransitionManager

getTransitions

public java.util.List getTransitions(java.lang.Long _entryId)
Specified by:
getTransitions in interface TransitionManager

getTransitionSummary

public java.util.List getTransitionSummary(com.atlassian.jira.issue.Issue issue)
Specified by:
getTransitionSummary in interface TransitionManager
Parameters:
gvIssue - the current issue.
Returns:
a List with the Transition Summaries. It obtains all Transition Summaries.

getStatusChanges

protected java.util.List getStatusChanges(com.atlassian.jira.issue.Issue issue,
                                          java.sql.Timestamp tsCreated)
Parameters:
issue - the current issue.
tsCreated - when the issue was created. It allows to calculate the duration of the first transition.
Returns:
a List with the Status Changes. It obtains all status changes data from the Change History.


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