Class StaticValueMappingElement
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.binding.transforms.map.StaticValueMappingElement
-
- All Implemented Interfaces:
MappingElement
public class StaticValueMappingElement extends java.lang.Object implements MappingElement
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshutdown()java.util.Optional<QualifiedValue>startup(java.util.function.Consumer<QualifiedValue> listener)Start up the mapping element.
-
-
-
Method Detail
-
startup
public java.util.Optional<QualifiedValue> startup(java.util.function.Consumer<QualifiedValue> listener)
Description copied from interface:MappingElementStart up the mapping element.- Specified by:
startupin interfaceMappingElement- Parameters:
listener- If this mapping element's value changes in the future, it will invoke this listener.- Returns:
- An optional qualified value that represents the initial value of the element if it is available synchronously during startup. An element that returns a non-empty value here may never invoke the listener.
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfaceMappingElement
-
-