@Deprecated public class

MockXmlLoadableJiraWorkflow

extends AbstractJiraWorkflow
java.lang.Object
   ↳ com.atlassian.jira.workflow.AbstractJiraWorkflow
     ↳ com.atlassian.jira.mock.workflow.MockXmlLoadableJiraWorkflow

This class is deprecated.
use MockJiraWorkflow, or Mockito mocks in your tests. Unless you really really think you need to load your workflow from XML file. In which case still use the above alternatives.

Class Overview

A mock workflow that can be loaded from file. So not really that much mockness in it...

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.workflow.JiraWorkflow
[Expand]
Inherited Fields
From class com.atlassian.jira.workflow.AbstractJiraWorkflow
From interface com.atlassian.jira.workflow.JiraWorkflow
Public Constructors
MockXmlLoadableJiraWorkflow(WorkflowManager workflowManager, String filename)
Public Methods
static WorkflowDescriptor getJiraWorkflow(String filename)
String getName()
boolean isDraftWorkflow()
void reset()
void setName(String name)
[Expand]
Inherited Methods
From class com.atlassian.jira.workflow.AbstractJiraWorkflow
From class java.lang.Object
From interface com.atlassian.jira.workflow.JiraWorkflow
From interface java.lang.Comparable

Public Constructors

public MockXmlLoadableJiraWorkflow (WorkflowManager workflowManager, String filename)

Throws
IOException
InvalidWorkflowDescriptorException
SAXException

Public Methods

public static WorkflowDescriptor getJiraWorkflow (String filename)

Throws
IOException
InvalidWorkflowDescriptorException
SAXException

public String getName ()

public boolean isDraftWorkflow ()

public void reset ()

public void setName (String name)