public static class OutputFilter.Entry
extends java.lang.Object
OutputFilter
object.Modifier and Type | Field and Description |
---|---|
static char |
TYPE_FILE
File.
|
static char |
TYPE_REGISTERED
Registered.
|
static char |
TYPE_REPORT
Report.
|
Constructor and Description |
---|
OutputFilter.Entry(boolean report,
boolean contains,
java.lang.String source,
java.lang.String filterText)
Deprecated.
|
OutputFilter.Entry(char type,
boolean contains,
java.lang.String source,
java.lang.String filterText)
Creates a new filter condition.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilterText()
Returns the filter text.
|
java.lang.String |
getSource()
Returns the source of this filter.
|
boolean |
isContains()
Returns
true if this filter matches when the filter text is found in the source,
false if this filter should match when the filter text is not found. |
boolean |
isFile()
Returns
true if the source is a file. |
boolean |
isRegisteredJobOutput()
Returns
true if the source is a registered job output. |
boolean |
isReport()
Returns
true if the source is a report. |
public static final char TYPE_REPORT
public static final char TYPE_FILE
public static final char TYPE_REGISTERED
@Deprecated public OutputFilter.Entry(boolean report, boolean contains, java.lang.String source, java.lang.String filterText)
report
- true if the source of this filter is a report, false if it is an external file.contains
- true if the filter matches when the filterText is found, false if the filter
should match if the filtertext was not foundsource
- Name of the report or a file name, depending on the value of the parameter report
.
For reports the 4 letter abbreviation has to be used (SLOG, SAPL, ...)filterText
- Search textpublic OutputFilter.Entry(char type, boolean contains, java.lang.String source, java.lang.String filterText)
type
- Use one of the static constants (TYPE_REPORT, TYPE_FILE, TYPE_REGISTERED) of this class or pass the following value:
contains
- true if the filter matches when the filterText is found, false if the filter
should match if the filtertext was not foundsource
- Name of the report or a file name, depending on the value of the parameter report
.
For reports the 4 letter abbreviation has to be used (SLOG, SAPL, ...)filterText
- Search textpublic boolean isReport()
true
if the source is a report.public boolean isFile()
true
if the source is a file.public boolean isRegisteredJobOutput()
true
if the source is a registered job output.public boolean isContains()
true
if this filter matches when the filter text is found in the source,
false if this filter should match when the filter text is not found.public java.lang.String getSource()
public java.lang.String getFilterText()