com.atlassian.jira.jql.context
Class ContextSetUtil
java.lang.Object
com.atlassian.jira.jql.context.ContextSetUtil
public class ContextSetUtil
- extends Object
Performs set utilities on ClauseContext
's
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextSetUtil
public ContextSetUtil()
getInstance
public static ContextSetUtil getInstance()
intersect
public ClauseContext intersect(Set<? extends ClauseContext> childClauseContexts)
- Performs an itersection of the ClauseContext's passed in.
NOTE: When
ProjectIssueTypeContext
's are compared they are considered
equivilent if the id values are the same, we do not compare if they are Explicit or Implicit. When combined
an Explicit flag will always replace an Implicit flag.
- Parameters:
childClauseContexts
- the child clause contexts to intersect, must never be null or contain null elements
- Returns:
- the intersection of ClauseContext's that were passed in.
union
public ClauseContext union(Set<? extends ClauseContext> childClauseContexts)
- Performs a union of the ClauseContext's passed in.
NOTE: When
ProjectIssueTypeContext
's are compared they are considered
equivilent if the id values are the same, we do not compare if they are Explicit or Implicit. When combined
an Explicit flag will always replace an Implicit flag.
- Parameters:
childClauseContexts
- the child clause contexts to union, must never be null or contain null elements
- Returns:
- the union of the ClauseContext's that were passed in.
Copyright © 2002-2012 Atlassian. All Rights Reserved.