org.mentalog.config
Class BooleanConfigParam

java.lang.Object
  extended by org.mentalog.config.ConfigParam<Boolean>
      extended by org.mentalog.config.BooleanConfigParam

public class BooleanConfigParam
extends ConfigParam<Boolean>


Constructor Summary
BooleanConfigParam(String name, Boolean defValue)
           
 
Method Summary
 boolean bool()
           
 boolean isForcedFalse()
           
 boolean isForcedTrue()
           
protected  Boolean parseString(String s)
           
 
Methods inherited from class org.mentalog.config.ConfigParam
checkAndLog, force, getDefault, getName, getString, init, isForced, isForceMode, isSet, set, set, setForceMode, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanConfigParam

public BooleanConfigParam(String name,
                          Boolean defValue)
Method Detail

isForcedTrue

public final boolean isForcedTrue()

isForcedFalse

public final boolean isForcedFalse()

bool

public final boolean bool()

parseString

protected Boolean parseString(String s)
Overrides:
parseString in class ConfigParam<Boolean>


Copyright © 2013. All Rights Reserved.