com.atlassian.jira.scheme.distiller
Class SchemeRelationship
java.lang.Object
com.atlassian.jira.scheme.distiller.SchemeRelationship
public class SchemeRelationship
- extends java.lang.Object
This is used by the SchemeRelationships
class to hold an individual relationship by entityType
(ie 'Browse Project' permission, or 'Issue Created' notification).
Constructor Summary |
SchemeRelationship(java.lang.Object entityType,
java.lang.String entityTypeDisplayName,
java.util.Collection schemes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemeRelationship
public SchemeRelationship(java.lang.Object entityType,
java.lang.String entityTypeDisplayName,
java.util.Collection schemes)
allMatch
public boolean allMatch()
getSchemeEntities
public java.util.List getSchemeEntities(Scheme scheme)
getMatchingSchemeEntities
public java.util.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
getNonMatchingSchemeEntities
public java.util.Collection getNonMatchingSchemeEntities(Scheme scheme)
getSchemeEntitiesByScheme
public java.util.Map getSchemeEntitiesByScheme()
getEntityTypeDisplayName
public java.lang.String getEntityTypeDisplayName()
getEntityType
public java.lang.Object getEntityType()
getAllSchemeEntities
public java.util.Set getAllSchemeEntities()
Copyright © 2002-2010 Atlassian. All Rights Reserved.