Package io.webdevice.wiring
Class Settings
- java.lang.Object
-
- io.webdevice.wiring.Settings
-
- All Implemented Interfaces:
Serializable
public class Settings extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceDefinitiondevice(String name)Stream<DeviceDefinition>devices()booleanequals(Object o)URLgetBaseUrl()StringgetDefaultDevice()Map<String,DeviceDefinition>getDevices()StringgetScope()inthashCode()booleanisEager()booleanisStrict()voidsetBaseUrl(URL baseUrl)voidsetDefaultDevice(String defaultDevice)voidsetDevices(Map<String,DeviceDefinition> devices)voidsetEager(boolean eager)voidsetScope(String scope)voidsetStrict(boolean strict)SettingswithBaseUrl(URL baseUrl)SettingswithDefaultDevice(String defaultDevice)SettingswithDevice(DeviceDefinition device)SettingswithEager(boolean eager)SettingswithScope(String scope)SettingswithStrict(boolean strict)
-
-
-
Method Detail
-
getDevices
public Map<String,DeviceDefinition> getDevices()
-
setDevices
public void setDevices(Map<String,DeviceDefinition> devices)
-
withDevice
public Settings withDevice(DeviceDefinition device)
-
device
public DeviceDefinition device(String name)
-
devices
public Stream<DeviceDefinition> devices()
-
getBaseUrl
public URL getBaseUrl()
-
setBaseUrl
public void setBaseUrl(URL baseUrl)
-
getDefaultDevice
public String getDefaultDevice()
-
setDefaultDevice
public void setDefaultDevice(String defaultDevice)
-
isEager
public boolean isEager()
-
setEager
public void setEager(boolean eager)
-
withEager
public Settings withEager(boolean eager)
-
isStrict
public boolean isStrict()
-
setStrict
public void setStrict(boolean strict)
-
withStrict
public Settings withStrict(boolean strict)
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
-