@Generated public class Resource extends FileSet implements Serializable, Cloneable
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
Resource() |
Resource(Resource delegate) |
Resource(Resource delegate,
BaseObject parent) |
Modifier and Type | Method and Description |
---|---|
Resource |
clone() |
Resource |
getDelegate() |
String |
getFiltering() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getMergeId() |
String |
getTargetPath() |
boolean |
isFiltering() |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
static List<Resource> |
resourceToApiV3(List<Resource> list) |
static List<Resource> |
resourceToApiV4(List<Resource> list) |
void |
setFiltering(boolean filtering) |
void |
setFiltering(String filtering) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setMergeId(String mergeId) |
void |
setTargetPath(String targetPath) |
String |
toString() |
fileSetToApiV3, fileSetToApiV4, getDirectory, setDirectory
addExclude, addInclude, getExcludes, getIncludes, patternSetToApiV3, patternSetToApiV4, removeExclude, removeInclude, setExcludes, setIncludes
update
public Resource()
public Resource(Resource delegate)
public Resource(Resource delegate, BaseObject parent)
public Resource getDelegate()
getDelegate
in class FileSet
public String getTargetPath()
public void setTargetPath(String targetPath)
public String getFiltering()
public void setFiltering(String filtering)
public String getMergeId()
public void setMergeId(String mergeId)
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
getLocation
in class FileSet
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
setLocation
in class FileSet
key
- The key of the field, must not be
null
.location
- The location of the field, may be
null
.public boolean isFiltering()
public void setFiltering(boolean filtering)
public String toString()
toString
in class FileSet
Object.toString()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.