public abstract class FilterOperation
extends java.lang.Object
FileSet
, this represents the base class for Include or eXclude
operations, to remove or add back files (from the FileSet.getReferences()
) to the file list.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
filter
The filter to apply on the reference file list, obtained from the
file-set . |
private boolean |
include
Flag indicating if this is an Include (when
true or eXclude operation. |
Constructor and Description |
---|
FilterOperation(boolean include)
Create a new instance.
|
FilterOperation(boolean include,
java.lang.String filter)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilter()
Get the
filter . |
boolean |
isInclude()
Get the
include flag. |
void |
setFilter(java.lang.String filter)
Set the
filter . |
private final boolean include
true
or eXclude operation.private java.lang.String filter
file-set
.public FilterOperation(boolean include)
include
- Flag indicating this is a Include or eXclude operation.public FilterOperation(boolean include, java.lang.String filter)
include
- Flag indicating this is a Include or eXclude operation.filter
- The filter to apply.