@Generated public class PatternSet extends BaseObject
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
PatternSet() |
PatternSet(PatternSet delegate) |
PatternSet(PatternSet delegate,
BaseObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String exclude) |
void |
addInclude(String include) |
PatternSet |
clone() |
PatternSet |
getDelegate() |
List<String> |
getExcludes() |
List<String> |
getIncludes() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
static List<PatternSet> |
patternSetToApiV3(List<PatternSet> list) |
static List<PatternSet> |
patternSetToApiV4(List<PatternSet> list) |
void |
removeExclude(String exclude) |
void |
removeInclude(String include) |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
void |
setExcludes(List<String> excludes) |
void |
setIncludes(List<String> includes) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
String |
toString() |
update
public PatternSet()
public PatternSet(PatternSet delegate)
public PatternSet(PatternSet delegate, BaseObject parent)
public PatternSet clone()
public PatternSet getDelegate()
getDelegate
in class BaseObject
public void addInclude(String include)
public void removeInclude(String include)
public void addExclude(String exclude)
public void removeExclude(String exclude)
public InputLocation getLocation(Object key)
InputLocationTracker
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
key
- The key of the field, must not be
null
.location
- The location of the field, may be
null
.protected boolean replace(Object oldDelegate, Object newDelegate)
replace
in class BaseObject
public static List<PatternSet> patternSetToApiV4(List<PatternSet> list)
public static List<PatternSet> patternSetToApiV3(List<PatternSet> list)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.