com.atlassian.greenhopper.service.workflow
Class WorkflowServiceImpl

java.lang.Object
  extended by com.atlassian.greenhopper.service.workflow.WorkflowServiceImpl
All Implemented Interfaces:
WorkflowService

@Service(value="gh-workflowService")
public class WorkflowServiceImpl
extends java.lang.Object
implements WorkflowService

Provides workflow related service methods


Field Summary
 
Fields inherited from interface com.atlassian.greenhopper.service.workflow.WorkflowService
SERVICE
 
Constructor Summary
WorkflowServiceImpl()
           
 
Method Summary
 java.util.List<com.atlassian.jira.issue.status.Status> getAllWorkflowStatusObjects()
          Get all available status objects.
 com.atlassian.jira.issue.status.Status getWorkflowStatusObject(java.lang.String statusId)
          Get the status object for a given id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowServiceImpl

public WorkflowServiceImpl()
Method Detail

getWorkflowStatusObject

public com.atlassian.jira.issue.status.Status getWorkflowStatusObject(java.lang.String statusId)
Get the status object for a given id

Specified by:
getWorkflowStatusObject in interface WorkflowService
Parameters:
statusId - the id to look up
Returns:
a status object or null if the id is invalid

getAllWorkflowStatusObjects

public java.util.List<com.atlassian.jira.issue.status.Status> getAllWorkflowStatusObjects()
Get all available status objects. Statuses are global in JIRA, the actual workflows define to what steps each status is attached to.

Specified by:
getAllWorkflowStatusObjects in interface WorkflowService


Copyright © 2007-2011 Atlassian. All Rights Reserved.