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 void
shutdown()
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:MappingElement
Start up the mapping element.- Specified by:
startup
in 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:
shutdown
in interfaceMappingElement
-
-