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 SummaryAll 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- 
startuppublic java.util.Optional<QualifiedValue> startup(java.util.function.Consumer<QualifiedValue> listener) Description copied from interface:MappingElementStart up the mapping element.- Specified by:
- startupin interface- MappingElement
- 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.
 
 - 
shutdownpublic void shutdown() - Specified by:
- shutdownin interface- MappingElement
 
 
- 
 
-