Package com.powsybl.commons.config
Interface ModuleConfig
-
- All Known Implementing Classes:
AbstractMapModuleConfig
,AbstractModuleConfig
,EnvironmentMapModuleConfig
,MapModuleConfig
,StackedModuleConfig
public interface ModuleConfig
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
-
-
-
Method Detail
-
hasProperty
boolean hasProperty(String name)
-
getOptionalEnumProperty
<E extends Enum<E>> Optional<E> getOptionalEnumProperty(String name, Class<E> clazz)
-
getOptionalEnumSetProperty
<E extends Enum<E>> Optional<Set<E>> getOptionalEnumSetProperty(String name, Class<E> clazz)
-
getEnumSetProperty
<E extends Enum<E>> Set<E> getEnumSetProperty(String name, Class<E> clazz, Set<E> defaultValue)
-
getOptionalIntProperty
OptionalInt getOptionalIntProperty(String name)
-
getIntProperty
int getIntProperty(String name)
-
getIntProperty
int getIntProperty(String name, int defaultValue)
-
getOptionalLongProperty
OptionalLong getOptionalLongProperty(String name)
-
getLongProperty
long getLongProperty(String name)
-
getLongProperty
long getLongProperty(String name, long defaultValue)
-
getFloatProperty
float getFloatProperty(String name)
-
getFloatProperty
float getFloatProperty(String name, float defaultValue)
-
getOptionalDoubleProperty
OptionalDouble getOptionalDoubleProperty(String name)
-
getDoubleProperty
double getDoubleProperty(String name)
-
getDoubleProperty
double getDoubleProperty(String name, double defaultValue)
-
getBooleanProperty
boolean getBooleanProperty(String name)
-
getBooleanProperty
boolean getBooleanProperty(String name, boolean defaultValue)
-
getOptionalClassProperty
<T> Optional<Class<? extends T>> getOptionalClassProperty(String name, Class<T> subClass)
-
getClassProperty
<T> Class<? extends T> getClassProperty(String name, Class<T> subClass, Class<? extends T> defaultValue)
-
getOptionalDateTimeProperty
Optional<org.joda.time.DateTime> getOptionalDateTimeProperty(String name)
-
getDateTimeProperty
org.joda.time.DateTime getDateTimeProperty(String name)
-
getOptionalIntervalProperty
Optional<org.joda.time.Interval> getOptionalIntervalProperty(String name)
-
getIntervalProperty
org.joda.time.Interval getIntervalProperty(String name)
-
-