public class StatusTextValidator extends BaseValidator
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_statusText |
_label, _log
Constructor and Description |
---|
StatusTextValidator() |
StatusTextValidator(java.lang.String label,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
void |
setStatusText(java.lang.String text) |
void |
validate(Response response)
Validate a response
|
fail, getLabel, setLabel
public StatusTextValidator()
public StatusTextValidator(java.lang.String label, java.lang.String text)
public void setStatusText(java.lang.String text)
public void validate(Response response) throws ValidationException
BaseValidator
validate
in interface Validator
validate
in class BaseValidator
response
- the response to validateValidationException
- if the Response fails to be validCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.