Package eu.mihosoft.devcom.impl
Class PortEventImpl.BuilderImpl
java.lang.Object
eu.mihosoft.devcom.impl.PortEventImpl.BuilderImpl
- All Implemented Interfaces:
PortEvent.Builder
,eu.mihosoft.vmf.runtime.core.Builder
- Enclosing class:
- PortEventImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappendCollections
(boolean value) build()
Builds a new 'PortEvent
' instance.Sets the 'added' property of this builder.withAdded
(PortInfo.Builder... added) Sets the 'added' property of this builder (builder object instead of instantiated object).withAdded
(List<PortInfo.Builder> added, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis) Sets the 'added' property of this builder (builder object instead of instantiated object).Sets the 'added' property of this builder.withRemoved
(PortInfo... removed) Sets the 'removed' property of this builder.withRemoved
(PortInfo.Builder... removed) Sets the 'removed' property of this builder (builder object instead of instantiated object).withRemoved
(List<PortInfo.Builder> removed, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis) Sets the 'removed' property of this builder (builder object instead of instantiated object).withRemoved
(List<PortInfo> removed) Sets the 'removed' property of this builder.withTimestamp
(long timestamp) Sets the 'timestamp' property of this builder.
-
Constructor Details
-
BuilderImpl
public BuilderImpl()
-
-
Method Details
-
withAdded
Description copied from interface:PortEvent.Builder
Sets the 'added' property of this builder.- Specified by:
withAdded
in interfacePortEvent.Builder
- Parameters:
added
- value to setport infos of ports added since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setAdded(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withAdded
Description copied from interface:PortEvent.Builder
Sets the 'added' property of this builder.- Specified by:
withAdded
in interfacePortEvent.Builder
- Parameters:
added
- values to setport infos of ports added since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setAdded(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withAdded
public PortEvent.Builder withAdded(List<PortInfo.Builder> added, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis) Description copied from interface:PortEvent.Builder
Sets the 'added' property of this builder (builder object instead of instantiated object).- Specified by:
withAdded
in interfacePortEvent.Builder
- Parameters:
added
- value to setport infos of ports added since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setAdded(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withAdded
Description copied from interface:PortEvent.Builder
Sets the 'added' property of this builder (builder object instead of instantiated object).- Specified by:
withAdded
in interfacePortEvent.Builder
- Parameters:
added
- values to setport infos of ports added since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setAdded(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withRemoved
Description copied from interface:PortEvent.Builder
Sets the 'removed' property of this builder.- Specified by:
withRemoved
in interfacePortEvent.Builder
- Parameters:
removed
- value to setport infos of ports removed since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setRemoved(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withRemoved
Description copied from interface:PortEvent.Builder
Sets the 'removed' property of this builder.- Specified by:
withRemoved
in interfacePortEvent.Builder
- Parameters:
removed
- values to setport infos of ports removed since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setRemoved(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withRemoved
public PortEvent.Builder withRemoved(List<PortInfo.Builder> removed, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis) Description copied from interface:PortEvent.Builder
Sets the 'removed' property of this builder (builder object instead of instantiated object).- Specified by:
withRemoved
in interfacePortEvent.Builder
- Parameters:
removed
- value to setport infos of ports removed since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setRemoved(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withRemoved
Description copied from interface:PortEvent.Builder
Sets the 'removed' property of this builder (builder object instead of instantiated object).- Specified by:
withRemoved
in interfacePortEvent.Builder
- Parameters:
removed
- values to setport infos of ports removed since the last scan.
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setRemoved(eu.mihosoft.vcollections.VList<eu.mihosoft.devcom.PortInfo>)
-
withTimestamp
Description copied from interface:PortEvent.Builder
Sets the 'timestamp' property of this builder.- Specified by:
withTimestamp
in interfacePortEvent.Builder
- Parameters:
timestamp
- value to setTimestamp (milliseconds since January 1st, 1970).
- Returns:
- this builder
- See Also:
-
eu.mihosoft.devcom.PortEvent#setTimestamp(long)
-
appendCollections
-
build
Description copied from interface:PortEvent.Builder
Builds a new 'PortEvent
' instance.- Specified by:
build
in interfaceeu.mihosoft.vmf.runtime.core.Builder
- Specified by:
build
in interfacePortEvent.Builder
- Returns:
- a new '
PortEvent
' instance
-
applyFrom
-