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
public static class PortEventImpl.BuilderImpl extends java.lang.Object implements PortEvent.Builder
-
-
Constructor Summary
Constructors Constructor Description BuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PortEvent.BuilderappendCollections(boolean value)PortEvent.BuilderapplyFrom(PortEvent o)PortEventbuild()Builds a new 'PortEvent' instance.PortEvent.BuilderwithAdded(PortInfo.Builder... added)Sets the 'added' property of this builder (builder object instead of instantiated object).PortEvent.BuilderwithAdded(PortInfo... added)Sets the 'added' property of this builder.PortEvent.BuilderwithAdded(java.util.List<PortInfo.Builder> added, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis)Sets the 'added' property of this builder (builder object instead of instantiated object).PortEvent.BuilderwithAdded(java.util.List<PortInfo> added)Sets the 'added' property of this builder.PortEvent.BuilderwithRemoved(PortInfo.Builder... removed)Sets the 'removed' property of this builder (builder object instead of instantiated object).PortEvent.BuilderwithRemoved(PortInfo... removed)Sets the 'removed' property of this builder.PortEvent.BuilderwithRemoved(java.util.List<PortInfo.Builder> removed, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis)Sets the 'removed' property of this builder (builder object instead of instantiated object).PortEvent.BuilderwithRemoved(java.util.List<PortInfo> removed)Sets the 'removed' property of this builder.PortEvent.BuilderwithTimestamp(long timestamp)Sets the 'timestamp' property of this builder.
-
-
-
Method Detail
-
withAdded
public PortEvent.Builder withAdded(java.util.List<PortInfo> added)
Description copied from interface:PortEvent.BuilderSets the 'added' property of this builder.- Specified by:
withAddedin 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)
-
withAdded
public PortEvent.Builder withAdded(PortInfo... added)
Description copied from interface:PortEvent.BuilderSets the 'added' property of this builder.- Specified by:
withAddedin 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)
-
withAdded
public PortEvent.Builder withAdded(java.util.List<PortInfo.Builder> added, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis)
Description copied from interface:PortEvent.BuilderSets the 'added' property of this builder (builder object instead of instantiated object).- Specified by:
withAddedin 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)
-
withAdded
public PortEvent.Builder withAdded(PortInfo.Builder... added)
Description copied from interface:PortEvent.BuilderSets the 'added' property of this builder (builder object instead of instantiated object).- Specified by:
withAddedin 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)
-
withRemoved
public PortEvent.Builder withRemoved(java.util.List<PortInfo> removed)
Description copied from interface:PortEvent.BuilderSets the 'removed' property of this builder.- Specified by:
withRemovedin 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)
-
withRemoved
public PortEvent.Builder withRemoved(PortInfo... removed)
Description copied from interface:PortEvent.BuilderSets the 'removed' property of this builder.- Specified by:
withRemovedin 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)
-
withRemoved
public PortEvent.Builder withRemoved(java.util.List<PortInfo.Builder> removed, eu.mihosoft.vmf.runtime.core.ErasureIsStupid... eis)
Description copied from interface:PortEvent.BuilderSets the 'removed' property of this builder (builder object instead of instantiated object).- Specified by:
withRemovedin 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)
-
withRemoved
public PortEvent.Builder withRemoved(PortInfo.Builder... removed)
Description copied from interface:PortEvent.BuilderSets the 'removed' property of this builder (builder object instead of instantiated object).- Specified by:
withRemovedin 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)
-
withTimestamp
public PortEvent.Builder withTimestamp(long timestamp)
Description copied from interface:PortEvent.BuilderSets the 'timestamp' property of this builder.- Specified by:
withTimestampin interfacePortEvent.Builder- Parameters:
timestamp- value to setTimestamp (milliseconds since January 1st, 1970).
- Returns:
- this builder
- See Also:
eu.mihosoft.devcom.PortEvent#setTimestamp(long)
-
appendCollections
public PortEvent.Builder appendCollections(boolean value)
-
build
public PortEvent build()
Description copied from interface:PortEvent.BuilderBuilds a new 'PortEvent' instance.- Specified by:
buildin interfaceeu.mihosoft.vmf.runtime.core.Builder- Specified by:
buildin interfacePortEvent.Builder- Returns:
- a new '
PortEvent' instance
-
applyFrom
public PortEvent.Builder applyFrom(PortEvent o)
-
-