Uses of Class
fmpp.setting.SettingException
Packages that use SettingException
Package
Description
fmpp.LocalDataBuilder
implementations.FMPP settings.
-
Uses of SettingException in fmpp.localdatabuilders
Methods in fmpp.localdatabuilders that throw SettingExceptionModifier and TypeMethodDescriptionstatic BshLocalDataBuilder
BshLocalDataBuilder.createInstanceForSetting
(String fName, List params) -
Uses of SettingException in fmpp.setting
Methods in fmpp.setting that throw SettingExceptionModifier and TypeMethodDescriptionvoid
Adds a setting value.void
Adds all name-value pairs stored in the map withSettings.add(String, Object)
.void
Settings.addDefault
(String name, Object value) Adds a setting value with low priority.void
Settings.addDefaults
(Map settingMap) Adds all entries stored in the map withSettings.addDefault(String, Object)
.void
Settings.addDefaultsWithStrings
(Properties props) Same asSettings.addDefaults(Map)
, but uses aProperties
object, so the values are strings.void
Settings.addDefaultWithString
(String name, String value) Same asSettings.addDefault(String, Object)
, but uses string value.void
Settings.addWithString
(String name, String value) Same asSettings.add(String, Object)
, but uses string value that will be interpreted bySettings.SettingType.parse(fmpp.setting.Settings, java.lang.String, boolean)
.void
Settings.addWithStrings
(Properties props) Same asSettings.add(Map)
, but uses aProperties
object, so the values are strings.protected abstract Object
Converts an object to the type of the setting.void
Settings.define
(String name, Settings.SettingType type, boolean merge, boolean forceStr) Defines a new setting.protected void
Settings.doProcessing
(Engine eng, File[] sources, File sourceFile, File outputFile) Executes the processing session(s) on theEngine
level, using the already initializedEngine
object.void
Settings.execute()
Executes a processing session based on the setting values.static void
Settings.fixVersion08SettingNames
(Properties props) Backward compatibility hack: renames properties that use pre-FMPP 0.9.0 names of settings.void
Loads settings from a configuration file.void
Settings.loadDefaults
(File cfgFile) Same asload
, except that it adds the settings withSettings.addDefaults(Map)
.protected abstract Object
Merges two setting values.protected abstract Object
Converts a string value to the type of the setting.static int
Settings.quietSettingValueToInt
(String value, String name) Returns 0 for verbose mode, 1 for quiet mode, 2 for really-quiet mode.void
Convenience method for setting aBoolean
value.void
Convenience method for setting anInteger
value.void
Sets the value of a setting.void
CallsSettings.set(String, Object)
for each name-value pair of theMap
.void
Settings.setDefault
(String name, boolean value) Convenience method for setting aBoolean
value; seeSettings.setDefault(String, Object)
.void
Settings.setDefault
(String name, int value) Convenience method for setting anInteger
value; seeSettings.setDefault(String, Object)
.void
Settings.setDefault
(String name, Object value) Sets the value of a setting if the value wasn't set yet.void
Settings.setDefaults
(Map settingValues) Similar toSettings.set(Map)
, but callsSettings.setDefault(String, Object)
instead ofSettings.set(String, Object)
.void
Settings.setDefaultsWithStrings
(Properties props) Similar toSettings.setWithStrings(Properties)
, but callsSettings.setDefaultWithString(String, String)
instead ofSettings.setWithString(String, String)
.void
Settings.setDefaultWithString
(String name, String value) Same asSettings.setDefault(String, Object)
, but uses a string value that will be parsed withSettings.SettingType.parse(fmpp.setting.Settings, java.lang.String, boolean)
.void
Settings.setWithString
(String name, String value) Same asSettings.set(String, Object)
, but uses string value that will be parsed withSettings.SettingType.parse(fmpp.setting.Settings, java.lang.String, boolean)
.void
Settings.setWithStrings
(Properties props) CallsSettings.setWithString(String, String)
for each name-value pair of theProperties
.void
Settings.undashNames
(Properties props) Converts legacy dashed setting names to the standard format, assource-root
tosourceRoot
.Constructors in fmpp.setting that throw SettingException