Class BasicSetupResourceSettingSpecifier
java.lang.Object
net.solarnetwork.settings.support.BaseSettingSpecifier
net.solarnetwork.node.settings.support.BasicSetupResourceSettingSpecifier
- All Implemented Interfaces:
SetupResourceSettingSpecifier,net.solarnetwork.settings.SettingSpecifier
public class BasicSetupResourceSettingSpecifier
extends net.solarnetwork.settings.support.BaseSettingSpecifier
implements SetupResourceSettingSpecifier
Basic implementation of
SetupResourceSettingSpecifier.- Version:
- 2.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct without properties.BasicSetupResourceSettingSpecifier(SetupResourceProvider provider, Map<String, ?> properties) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet a set of properties to associate with the resources managed by this setting.Get the provider of setup resources for this specifier.Methods inherited from class net.solarnetwork.settings.support.BaseSettingSpecifier
getTitle, getType, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.solarnetwork.settings.SettingSpecifier
getTitle, getType
-
Constructor Details
-
BasicSetupResourceSettingSpecifier
Construct without properties.- Parameters:
provider- The provider to use.
-
BasicSetupResourceSettingSpecifier
Constructor.- Parameters:
provider- The provider to use.properties- The properties to use.
-
-
Method Details
-
getSetupResourceProvider
Description copied from interface:SetupResourceSettingSpecifierGet the provider of setup resources for this specifier.- Specified by:
getSetupResourceProviderin interfaceSetupResourceSettingSpecifier- Returns:
- The resource provider.
-
getSetupResourceProperties
Description copied from interface:SetupResourceSettingSpecifierGet a set of properties to associate with the resources managed by this setting.- Specified by:
getSetupResourcePropertiesin interfaceSetupResourceSettingSpecifier- Returns:
- A set of properties.
-