@Internal @InjectableComponent public interface

WorkflowsRepository

com.atlassian.jira.workflow.WorkflowsRepository
Known Indirect Subclasses

@Internal

This interface is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Class Overview

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.

Summary

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

Public Methods

public 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.