public class FragmentOptionManager extends InMemoryOptionManager
OptionManager that holds options within FragmentContext.optionsfallback| Constructor and Description |
|---|
FragmentOptionManager(OptionManager systemOptions,
OptionList options) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllLocalOptions()
Deletes all options.
|
void |
deleteLocalOption(String name)
Deletes the option.
|
OptionValue |
getDefault(String optionName)
Gets the default value for the specified option.
|
protected OptionValue.OptionScope |
getScope() |
void |
setLocalOptionHelper(OptionValue value) |
getOption, getOptionDefinition, getOptionList, iteratorgetBoolean, getDouble, getInternalOptionList, getLong, getOption, getOption, getOption, getOption, getPublicOptionList, getString, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOptionpublic FragmentOptionManager(OptionManager systemOptions, OptionList options)
public void deleteAllLocalOptions()
OptionManagerdeleteAllLocalOptions in interface OptionManagerdeleteAllLocalOptions in class InMemoryOptionManagerpublic void deleteLocalOption(String name)
OptionManagerSystemOptionManager.createDefaultOptionDefinitions()),
but the option was not set within this manager, calling this method should be a no-op.deleteLocalOption in interface OptionManagerdeleteLocalOption in class InMemoryOptionManagername - option namepublic OptionValue getDefault(String optionName)
OptionSetoptionName - The option to retrieve the default value for.protected OptionValue.OptionScope getScope()
getScope in class BaseOptionManagerpublic void setLocalOptionHelper(OptionValue value)
setLocalOptionHelper in class InMemoryOptionManagerCopyright © 2017 The Apache Software Foundation. All rights reserved.