Package com.atlassian.jira.workflow
Interface WorkflowsRepository
- All Known Implementing Classes:
DefaultWorkflowsRepository
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
-
Method Details
-
contains
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.
-