Package org.mozilla.geckoview
Class RuntimeSettings.Builder<Settings extends RuntimeSettings>
Object
org.mozilla.geckoview.RuntimeSettings.Builder<Settings>
- Direct Known Subclasses:
ContentBlocking.Settings.Builder
,GeckoRuntimeSettings.Builder
- Enclosing class:
- RuntimeSettings
public abstract static class RuntimeSettings.Builder<Settings extends RuntimeSettings>
extends Object
Base class for (nested) runtime settings builders.
Please extend this class when adding nested settings builders for GeckoRuntimeSettings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and return the settings.protected Settings
protected abstract Settings
newSettings
(Settings settings) Create a default or copy settings object.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and return the settings.- Returns:
- The constructed settings.
-
getSettings
-
newSettings
Create a default or copy settings object.- Parameters:
settings
- Settings object to copy, null for default settings.- Returns:
- The constructed settings object.
-