Class EventParameterUtils


  • public abstract class EventParameterUtils
    extends java.lang.Object
    This is an utility class used to format the event parameters - to be inserted into the 'events' table
    Author:
    Brian Weaver
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<Parm> decode​(java.lang.String eventparms)
      decode
      static java.lang.String format​(Event event)
      Format the list of event parameters
      static java.lang.String format​(Parm parm)
      Format each parameter
      static java.util.Map<java.lang.String,​Parm> normalize​(java.util.List<Parm> parmList)  
      static java.util.List<Parm> normalizePreserveOrder​(java.util.List<Parm> parmList)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventParameterUtils

        public EventParameterUtils()
    • Method Detail

      • format

        public static java.lang.String format​(Event event)
        Format the list of event parameters
        Parameters:
        event - TODO
        Returns:
        the formatted event parameters string
      • format

        public static java.lang.String format​(Parm parm)
        Format each parameter
        Parameters:
        parm - the parameter
        Returns:
        the formatted event parameter string
      • decode

        public static java.util.List<Parm> decode​(java.lang.String eventparms)

        decode

        Parameters:
        eventparms - an event parm string
        Returns:
        a list of parameters
      • normalize

        public static java.util.Map<java.lang.String,​Parm> normalize​(java.util.List<Parm> parmList)
      • normalizePreserveOrder

        public static java.util.List<Parm> normalizePreserveOrder​(java.util.List<Parm> parmList)