Class SimpleParameterValidator

java.lang.Object
PamModel.parametermanager.SimpleParameterValidator
All Implemented Interfaces:
ParameterValidator

public class SimpleParameterValidator extends Object implements ParameterValidator
Simple parameter validator which return OK for all values.
Author:
Jamie Macaulay
  • Constructor Details

    • SimpleParameterValidator

      public SimpleParameterValidator()
  • Method Details

    • isParameterOK

      public int isParameterOK(Number value)
      Description copied from interface: ParameterValidator
      Check whether the parameter is OK. This is overridden to perform tests.
      Specified by:
      isParameterOK in interface ParameterValidator
      Returns:
      1 if parameter is OK, other values are error codes.