org.mentalog.config
Class ListConfigParam<E>

java.lang.Object
  extended by org.mentalog.config.ConfigParam<List<E>>
      extended by org.mentalog.config.ListConfigParam<E>

public class ListConfigParam<E>
extends ConfigParam<List<E>>


Constructor Summary
ListConfigParam(String name, String addParam, String setParam, List<E> defList)
           
 
Method Summary
 void add(E e)
           
 void add(E e, boolean force)
           
protected  void init(String name)
           
protected  List<E> parseString(String s)
           
 void set(List<E> values, boolean force)
           
 List<E> values()
           
 
Methods inherited from class org.mentalog.config.ConfigParam
checkAndLog, force, getDefault, getName, getString, isForced, isForceMode, isSet, set, setForceMode, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListConfigParam

public ListConfigParam(String name,
                       String addParam,
                       String setParam,
                       List<E> defList)
Method Detail

add

public void add(E e,
                boolean force)

add

public void add(E e)

values

public final List<E> values()

set

public void set(List<E> values,
                boolean force)
Overrides:
set in class ConfigParam<List<E>>

init

protected void init(String name)
Overrides:
init in class ConfigParam<List<E>>

parseString

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


Copyright © 2013. All Rights Reserved.