Package eu.mihosoft.devcom.impl
Class DeviceInfoImpl.BuilderImpl
java.lang.Object
eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- All Implemented Interfaces:
DeviceInfo.Builder,eu.mihosoft.vmf.runtime.core.Builder
- Enclosing class:
- DeviceInfoImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappendCollections(boolean value) build()Builds a new 'DeviceInfo' instance.withDevice(String device) Sets the 'device' property of this builder.withDeviceClass(String deviceClass) Sets the 'deviceClass' property of this builder.withMCUType(String mCUType) Sets the 'mCUType' property of this builder.withSerialNumber(String serialNumber) Sets the 'serialNumber' property of this builder.
-
Constructor Details
-
BuilderImpl
public BuilderImpl()
-
-
Method Details
-
withDevice
Description copied from interface:DeviceInfo.BuilderSets the 'device' property of this builder.- Specified by:
withDevicein interfaceDeviceInfo.Builder- Parameters:
device- value to setReturns the device
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.DeviceInfo#setDevice(java.lang.String)
-
withDeviceClass
Description copied from interface:DeviceInfo.BuilderSets the 'deviceClass' property of this builder.- Specified by:
withDeviceClassin interfaceDeviceInfo.Builder- Parameters:
deviceClass- value to setReturns the device class
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.DeviceInfo#setDeviceClass(java.lang.String)
-
withMCUType
Description copied from interface:DeviceInfo.BuilderSets the 'mCUType' property of this builder.- Specified by:
withMCUTypein interfaceDeviceInfo.Builder- Parameters:
mCUType- value to setReturns the MCU type used by this device
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.DeviceInfo#setMCUType(java.lang.String)
-
withSerialNumber
Description copied from interface:DeviceInfo.BuilderSets the 'serialNumber' property of this builder.- Specified by:
withSerialNumberin interfaceDeviceInfo.Builder- Parameters:
serialNumber- value to setReturns the serial number of the device
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.DeviceInfo#setSerialNumber(java.lang.String)
-
appendCollections
-
build
Description copied from interface:DeviceInfo.BuilderBuilds a new 'DeviceInfo' instance.- Specified by:
buildin interfaceeu.mihosoft.vmf.runtime.core.Builder- Specified by:
buildin interfaceDeviceInfo.Builder- Returns:
- a new '
DeviceInfo' instance
-
applyFrom
-