com.atlassian.jira.workflow
Interface WorkflowsRepository

All Known Implementing Classes:
DefaultWorkflowsRepository

@Internal
@InjectableComponent
public interface WorkflowsRepository

Provides a collection like interface over the underlying JiraWorkflow persistance implementation. All the methods on this abstraction take in or retrieve JiraWorflow objects. The repository is responsible to fetch these objects from the underlying persistance implementation based on a given criteria, objects should be able to be added and removed from the repository as well. See Repository Pattern Definition and the "Domain Driven Design" book for more information.

Since:
v5.1

Method Summary
 boolean contains(String workflowName)
          Returns true if this repository contains a workflow with the specified name.
 

Method Detail

contains

boolean contains(String workflowName)
Returns true if this repository contains a workflow with the specified name.

Parameters:
workflowName - The name of the workflow whose presence in this repository is to be tested.
Returns:
true if this repository contains a workflow with the specified name.


Copyright © 2002-2014 Atlassian. All Rights Reserved.