| Modifier and Type | Method and Description |
|---|---|
static Exclusion |
Directives.all(Exclusion... directives)
Returns the directive that excludes all fields that satisfy simultaneously two or more other exclusions.
|
static Exclusion |
Directives.annotation(Class<? extends Annotation> annotation)
Returns the directive that excludes all fields that have a given annotation.
|
static Exclusion |
Directives.emptyStrings()
Returns the directive that excludes all String fields with an empty value.
|
static Exclusion |
Directives.name(Pattern pattern)
Returns the directive that excludes all fields that match a given regular expression.
|
static Exclusion |
Directives.name(String name)
Returns the directive that excludes all fields that have a given name.
|
static Exclusion |
Directives.not(Exclusion directive)
Returns the directive that excludes all fields that do not satisfy a given directive.
|
static Exclusion |
Directives.object(Object o)
Returns the directive that excludes all fields within a given object.
|
static Exclusion |
Directives.objectLike(Object parent)
Returns the directive that excludes all fields of an object equivalent to a given object.
|
static Exclusion |
Directives.type(Class<?> type)
Returns the directive that excludes all fields that have a given type (in the sense of
Class.isAssignableFrom(Class)). |
static Exclusion |
Directives.value(Object value)
Returns the directive that excludes all fields with a given value.
|
static Exclusion |
Directives.valueLike(Object value)
Returns the directive that excludes all fields with a value which is equivalent to a given value (in the sense
of
Object.equals(Object)). |
| Modifier and Type | Method and Description |
|---|---|
static Exclusion |
Directives.all(Exclusion... directives)
Returns the directive that excludes all fields that satisfy simultaneously two or more other exclusions.
|
Directives |
Directives.excluding(Exclusion... directives)
Adds a set of
Exclusions to these directives. |
static Exclusion |
Directives.not(Exclusion directive)
Returns the directive that excludes all fields that do not satisfy a given directive.
|
| Modifier and Type | Method and Description |
|---|---|
Directives |
Directives.excluding(List<Exclusion> directives)
Adds a set of
Exclusions to these directives. |
Copyright © 2014. All Rights Reserved.