Class WicaChannelMetadataCreator

java.lang.Object
ch.psi.wica.controlsystem.epics.channel.WicaChannelMetadataCreator

@Immutable @Component public class WicaChannelMetadataCreator extends Object
Provides the functionality to build a WicaChannelMetadata object using raw channel value data.
  • Constructor Details

    • WicaChannelMetadataCreator

      public WicaChannelMetadataCreator()
  • Method Details

    • build

      public WicaChannelMetadata build(ControlSystemName controlSystemName, EpicsChannelType epicsChannelType, org.epics.ca.data.Control<?,?> epicsMetadataObject)
      Returns a WicaChannelMetadata object based on the supplied data obtained from the EPICS channel.
      Parameters:
      controlSystemName - the name of the control system channel (needed for logging purposes only). Not Null.
      epicsChannelType - the type of the EPICS channel.
      epicsMetadataObject - the EPICS CA library Control object. Not Null except when channel is of type STRING or STRING_ARRAY.
      Returns:
      the constructed metadata object.