|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linkedin.glu.provisioner.core.model.SystemFilterHelper
class SystemFilterHelper
Method Summary | |
---|---|
static SystemFilter
|
and(SystemFilter f1, SystemFilter f2)
Convenient call to create a chain of 2 filters that are 'anded' together. |
static SystemFilter
|
and(java.util.Collection filters)
Convenient call to create a chain of filters that are 'anded' together. |
static boolean
|
definesSubsetOrEqual(SystemFilter filter1, SystemFilter filter2)
This call is a 'simplified' version as it for example does not check for a filter like
|
static SystemFilter
|
unand(SystemFilter f1, SystemFilter f2)
This is the 'opposite' of |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
static SystemFilter and(SystemFilter f1, SystemFilter f2)
null
and 'adjacent' 'and' filters.
static SystemFilter and(java.util.Collection filters)
null
and 'adjacent' 'and' filters.
static boolean definesSubsetOrEqual(SystemFilter filter1, SystemFilter filter2)
and{and{filter}}
...
true
if filter1
defines a subset of filter2
or is equal to it
static SystemFilter unand(SystemFilter f1, SystemFilter f2)
and
: tries to remove f2 from f1 (if possible... this
call is simplified in the sense that it does not handle complex scenarios)
Groovy Documentation