public class

SchemeRelationship

extends Object
java.lang.Object
   ↳ com.atlassian.jira.scheme.distiller.SchemeRelationship

Class Overview

This is used by the SchemeRelationships class to hold an individual relationship by entityType (ie 'Browse Project' permission, or 'Issue Created' notification).

Summary

Public Constructors
SchemeRelationship(Object entityType, String entityTypeDisplayName, Collection schemes)
Public Methods
boolean allMatch()
Set getAllSchemeEntities()
Object getEntityType()
String getEntityTypeDisplayName()
Collection getMatchingSchemeEntities()
Returns an intersection of matching scheme-entities accross all schemes being compared in this relationship
Collection getNonMatchingSchemeEntities(Scheme scheme)
List getSchemeEntities(Scheme scheme)
Map getSchemeEntitiesByScheme()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SchemeRelationship (Object entityType, String entityTypeDisplayName, Collection schemes)

Public Methods

public boolean allMatch ()

public Set getAllSchemeEntities ()

public Object getEntityType ()

public String getEntityTypeDisplayName ()

public Collection getMatchingSchemeEntities ()

Returns an intersection of matching scheme-entities accross all schemes being compared in this relationship

Returns
  • a collection of the matching @link SchemeEntity objects

public Collection getNonMatchingSchemeEntities (Scheme scheme)

public List getSchemeEntities (Scheme scheme)

public Map getSchemeEntitiesByScheme ()