Package PamModel.parametermanager
Class SimpleParameterValidator
java.lang.Object
PamModel.parametermanager.SimpleParameterValidator
- All Implemented Interfaces:
ParameterValidator
Simple parameter validator which return OK for all values.
- Author:
- Jamie Macaulay
-
Field Summary
Fields inherited from interface PamModel.parametermanager.ParameterValidator
PARAMOK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
isParameterOK
(Number value) Check whether the parameter is OK.
-
Constructor Details
-
SimpleParameterValidator
public SimpleParameterValidator()
-
-
Method Details
-
isParameterOK
Description copied from interface:ParameterValidator
Check whether the parameter is OK. This is overridden to perform tests.- Specified by:
isParameterOK
in interfaceParameterValidator
- Returns:
- 1 if parameter is OK, other values are error codes.
-