com.epam.fixengine.configuration
Class Configuration.ValidatorInteger

java.lang.Object
  extended by com.epam.fixengine.configuration.Configuration.ValidatorInteger
All Implemented Interfaces:
Configuration.Validator
Enclosing class:
Configuration

public class Configuration.ValidatorInteger
extends Object
implements Configuration.Validator

User value validator for rage max >= UserValue >= min


Constructor Summary
Configuration.ValidatorInteger(int min, int max)
           
 
Method Summary
 String toString()
           
 boolean valid(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Configuration.ValidatorInteger

public Configuration.ValidatorInteger(int min,
                                      int max)
Method Detail

valid

public boolean valid(String value)
Specified by:
valid in interface Configuration.Validator

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.