public abstract class PatternMatchingTask extends DiagnosticTask
Modifier and Type | Field and Description |
---|---|
protected static String |
PARAMETER_PATTERN |
protected String |
pattern |
PARAMETER_COMMENT, PARAMETER_REPORT, PARAMETER_SEVERITY, PARAMETER_TIMEOUT, PARAMETER_VARIABLE
Constructor and Description |
---|
PatternMatchingTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkValueAgainstPattern(DiagnosticTaskResult result,
String receiver,
String accessKind,
String propertyName,
Object value) |
String |
getPattern() |
void |
initializeFromAttributes(Attributes attributes)
This method is sent from the SelfDiagnoseHandler when a configuration is being processed.
|
void |
setPattern(String string) |
createResult, getComment, getDefaultReportTemplate, getDescription, getRequestor, getSeverity, getTaskName, getTimeoutInMilliSeconds, getVariableName, hasComment, isReportResults, needsLimitedRuntime, run, run, run, setComment, setReportResults, setRequestor, setSeverity, setTimeoutInMilliSeconds, setUp, setVariableName
protected static final String PARAMETER_PATTERN
protected String pattern
public void initializeFromAttributes(Attributes attributes)
DiagnosticTask
initializeFromAttributes
in class DiagnosticTask
attributes
- org.xml.sax.Attributespublic String getPattern()
public void setPattern(String string)
string
- protected void checkValueAgainstPattern(DiagnosticTaskResult result, String receiver, String accessKind, String propertyName, Object value)
Copyright © 2016. All rights reserved.