com.philemonworks.selfdiagnose.check
Class CheckProperty
java.lang.Object
com.philemonworks.selfdiagnose.DiagnosticTask
com.philemonworks.selfdiagnose.PatternMatchingTask
com.philemonworks.selfdiagnose.check.CheckProperty
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- CheckAtgComponentProperty, CheckBeanProperty, CheckHttpRequestHeader, CheckMBeanProperty, CheckResourceProperty, CheckSystemProperty
public abstract class CheckProperty
- extends PatternMatchingTask
CheckProperty is an abstract class for tasks that verifies properties against a regular expression pattern.
- Author:
- Ernest Micklei
- See Also:
- Serialized Form
| Methods inherited from class com.philemonworks.selfdiagnose.DiagnosticTask |
createResult, getComment, getDefaultReportTemplate, getDescription, getRequestor, getTaskName, getVariableName, hasComment, run, run, run, setComment, setRequestor, setVariableName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETER_PROPERTY
protected static final java.lang.String PARAMETER_PROPERTY
- See Also:
- Constant Field Values
property
protected java.lang.String property
CheckProperty
public CheckProperty()
initializeFromAttributes
public void initializeFromAttributes(org.xml.sax.Attributes attributes)
- Description copied from class:
DiagnosticTask
- This method is sent from the SelfDiagnoseHandler when a configuration is being processed. Use the passed
attributes to initialize the receiver.
If a variable parameter is passed then store it.
- Overrides:
initializeFromAttributes in class PatternMatchingTask
- Parameters:
attributes - org.xml.sax.Attributes
setUp
public void setUp(ExecutionContext ctx)
throws DiagnoseException
- Description copied from class:
DiagnosticTask
- Override this method to verify that task parameters are initialized/set correctly.
- Overrides:
setUp in class DiagnosticTask
- Parameters:
ctx - ExecutionContext
- Throws:
DiagnoseException
checkPropertyAccess
protected void checkPropertyAccess()
throws DiagnoseException
- Throws:
DiagnoseException
getProperty
public java.lang.String getProperty()
- Returns:
setProperty
public void setProperty(java.lang.String string)
- Parameters:
string -
Copyright © 2008. All Rights Reserved.