public interface DataValidator
| Modifier and Type | Interface and Description |
|---|---|
static class |
DataValidator.Status |
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_VALIDATOR_CLASSNAME_ATTR
attribute for class to use
|
static String |
DATA_VALIDATOR_CONDITION_ATTR
attribute for validator condition to apply
|
static String |
DATA_VALIDATOR_TAG
tag-name of the datavalidator
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDefaultAnswer()
If the installer is run in automated mode, and
validateData
returns Status.WARNING, this method is asked how to go on instead of an user answer. |
String |
getErrorMessageId()
Returns the string with either a message if from translations or the message itself in case
validateData
returns Status.ERROR. |
String |
getWarningMessageId()
Returns the string with either a message if from translations or the message itself in case
validateData
returns Status.WARNING. |
DataValidator.Status |
validateData(InstallData installData)
Method to validate complex variable settings read from
InstallData after a panel change. |
static final String DATA_VALIDATOR_TAG
static final String DATA_VALIDATOR_CLASSNAME_ATTR
static final String DATA_VALIDATOR_CONDITION_ATTR
DataValidator.Status validateData(InstallData installData)
InstallData after a panel change.installData@return - DataValidator.Status the result of the validationString getErrorMessageId()
validateData
returns Status.ERROR.String getWarningMessageId()
validateData
returns Status.WARNING.boolean getDefaultAnswer()
validateData
returns Status.WARNING, this method is asked how to go on instead of an user answer.Copyright © 2001–2025. All rights reserved.