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