public class FragmentOptionManager extends InMemoryOptionManager
OptionManager
that holds options within FragmentContextImpl
.options
fallback
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, iterator
getBoolean, getDouble, getInt, getInternalOptionList, getLong, getOption, getOption, getOption, getOption, getPublicOptionList, getString, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption, setLocalOption
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public FragmentOptionManager(OptionManager systemOptions, OptionList options)
public void deleteAllLocalOptions()
OptionManager
deleteAllLocalOptions
in interface OptionManager
deleteAllLocalOptions
in class InMemoryOptionManager
public void deleteLocalOption(String name)
OptionManager
SystemOptionManager.createDefaultOptionDefinitions()
),
but the option was not set within this manager, calling this method should be a no-op.deleteLocalOption
in interface OptionManager
deleteLocalOption
in class InMemoryOptionManager
name
- option namepublic OptionValue getDefault(String optionName)
OptionSet
optionName
- The option to retrieve the default value for.protected OptionValue.OptionScope getScope()
getScope
in class BaseOptionManager
public void setLocalOptionHelper(OptionValue value)
setLocalOptionHelper
in class InMemoryOptionManager
Copyright © 1970 The Apache Software Foundation. All rights reserved.