|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.jql.context.ContextSetUtil
public class ContextSetUtil
Performs set utilities on ClauseContext
's
Constructor Summary | |
---|---|
ContextSetUtil()
|
Method Summary | |
---|---|
static ContextSetUtil |
getInstance()
|
ClauseContext |
intersect(java.util.Set<? extends ClauseContext> childClauseContexts)
Performs an itersection of the ClauseContext's passed in. |
ClauseContext |
union(java.util.Set<? extends ClauseContext> childClauseContexts)
Performs a union of the ClauseContext's passed in. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextSetUtil()
Method Detail |
---|
public static ContextSetUtil getInstance()
public ClauseContext intersect(java.util.Set<? extends ClauseContext> childClauseContexts)
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.
childClauseContexts
- the child clause contexts to intersect, must never be null or contain null elements
public ClauseContext union(java.util.Set<? extends ClauseContext> childClauseContexts)
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.
childClauseContexts
- the child clause contexts to union, must never be null or contain null elements
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |