public class ContextSetUtil extends Object
ClauseContext
'sConstructor and Description |
---|
ContextSetUtil() |
Modifier and Type | Method and Description |
---|---|
static ContextSetUtil |
getInstance() |
ClauseContext |
intersect(Set<? extends ClauseContext> childClauseContexts)
Performs an itersection of the ClauseContext's passed in.
|
ClauseContext |
union(Set<? extends ClauseContext> childClauseContexts)
Performs a union of the ClauseContext's passed in.
|
public static ContextSetUtil getInstance()
public ClauseContext intersect(Set<? extends ClauseContext> childClauseContexts)
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.
childClauseContexts
- the child clause contexts to intersect, must never be null or contain null elementspublic ClauseContext union(Set<? extends ClauseContext> childClauseContexts)
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.
childClauseContexts
- the child clause contexts to union, must never be null or contain null elementsCopyright © 2002-2017 Atlassian. All Rights Reserved.