Package org.evrete
Class Configuration
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.evrete.Configuration
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>,Copyable<Configuration>,FluentImports<Configuration>
public class Configuration extends Properties implements Copyable<Configuration>, FluentImports<Configuration>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTITY_METHOD_EQUALSstatic StringIDENTITY_METHOD_IDENTITYstatic StringINSERT_BUFFER_SIZEstatic intINSERT_BUFFER_SIZE_DEFAULTstatic StringOBJECT_COMPARE_METHODstatic StringRULE_BASE_CLASSstatic StringWARN_UNKNOWN_TYPES-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description Configuration()Configuration(Properties defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationaddImport(String imp)ConfigurationcopyOf()booleangetAsBoolean(String property)booleangetAsBoolean(String property, boolean defaultValue)intgetAsInteger(String property, int defaultValue)ImportsgetImports()-
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.evrete.api.FluentImports
addImport, getJavaImports
-
-
-
-
Field Detail
-
OBJECT_COMPARE_METHOD
public static final String OBJECT_COMPARE_METHOD
- See Also:
- Constant Field Values
-
INSERT_BUFFER_SIZE
public static final String INSERT_BUFFER_SIZE
- See Also:
- Constant Field Values
-
WARN_UNKNOWN_TYPES
public static final String WARN_UNKNOWN_TYPES
- See Also:
- Constant Field Values
-
INSERT_BUFFER_SIZE_DEFAULT
public static final int INSERT_BUFFER_SIZE_DEFAULT
- See Also:
- Constant Field Values
-
IDENTITY_METHOD_EQUALS
public static final String IDENTITY_METHOD_EQUALS
- See Also:
- Constant Field Values
-
IDENTITY_METHOD_IDENTITY
public static final String IDENTITY_METHOD_IDENTITY
- See Also:
- Constant Field Values
-
RULE_BASE_CLASS
public static final String RULE_BASE_CLASS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Configuration
public Configuration(Properties defaults)
-
Configuration
public Configuration()
-
-
Method Detail
-
getAsBoolean
public boolean getAsBoolean(String property)
-
getAsBoolean
public boolean getAsBoolean(String property, boolean defaultValue)
-
getAsInteger
public int getAsInteger(String property, int defaultValue)
-
getImports
public Imports getImports()
- Specified by:
getImportsin interfaceFluentImports<Configuration>
-
addImport
public final Configuration addImport(String imp)
- Specified by:
addImportin interfaceFluentImports<Configuration>
-
copyOf
public Configuration copyOf()
- Specified by:
copyOfin interfaceCopyable<Configuration>
-
-