Package net.solarnetwork.node.settings
Interface SettingsUpdates
- All Known Implementing Classes:
SettingsCommand
public interface SettingsUpdates
API for a set of setting updates to be applied.
- Since:
- 1.70
- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA single setting update to apply. -
Method Summary
Modifier and TypeMethodDescriptionGet a collection of setting key patterns to clean before apply any setting value updates.Iterable<? extends SettingsUpdates.Change> Get a collection of setting values to apply.booleanTest if there are any setting patterns to clean.booleanTest if there are any updates to apply.
-
Method Details
-
hasSettingKeyPatternsToClean
boolean hasSettingKeyPatternsToClean()Test if there are any setting patterns to clean.- Returns:
- false only if
getSettingKeyPatternsToClean()is known not to contain any patterns
-
getSettingKeyPatternsToClean
Get a collection of setting key patterns to clean before apply any setting value updates.- Returns:
- the patterns, never null
-
hasSettingValueUpdates
boolean hasSettingValueUpdates()Test if there are any updates to apply.- Returns:
- false only if
getSettingValueUpdates()is known not to contain any patterns
-
getSettingValueUpdates
Iterable<? extends SettingsUpdates.Change> getSettingValueUpdates()Get a collection of setting values to apply.- Returns:
- the setting values, never null
-