Class MonitorUtilInternal


  • public class MonitorUtilInternal
    extends Object
    • Field Detail

      • MONITOR_FIELD

        public static final String MONITOR_FIELD
        Big data monitor field identifier.
        Since:
        11.1.0
        See Also:
        Constant Field Values
    • Constructor Detail

      • MonitorUtilInternal

        public MonitorUtilInternal()
    • Method Detail

      • createStringFieldValue

        public static Map<String,​Serializable> createStringFieldValue​(String string)
        Creates a string field value structure, given a string.
        Parameters:
        string - the string to value
        Returns:
        the string field value structure for the given string
        Since:
        11.0.0
      • getNormalizedToken

        public static String getNormalizedToken​(String string)
        Returns the string normalized token version if string is not null, otherwise returns null.
        Parameters:
        string - the string to be normalized.
        Returns:
        the string normalized token version.
        Since:
        11.0.0
      • getReversedNormalizedToken

        public static String getReversedNormalizedToken​(String normalizedToken)
        Returns the string reversed normalized token version if normalizedToken is not null, otherwise returns null.
        Parameters:
        normalizedToken - the string normalized token version to be reversed.
        Returns:
        the string reversed normalized token version.
        Since:
        11.0.0
      • getDocumentTypeFieldId

        public static String getDocumentTypeFieldId​(String fieldId)
        Returns the normalized full field identifier.
        Parameters:
        fieldId - the raw field identifier.
        Returns:
        the normalized full field identifier.
        Since:
        11.1.0
      • putOptionalProviderValue

        public static <T extends Serializable> void putOptionalProviderValue​(Map<String,​List<? extends Serializable>> values,
                                                                             String key,
                                                                             T value)
        Helper method for populating a IMonitorValuesProvider values map when the value for the given key can be null and is a optional value.
        Parameters:
        values - The current values map of the IMonitorValuesProvider.
        key - The key to be used in the map.
        value - The value to put in the map, it will be inserted as a list containing the value, if the value is null the value will not be inserted.
        Since:
        14.0.0