Interface DataExtractor

    • Method Detail

      • isSupported

        boolean isSupported​(Serializable data)
        Determines if the extractor will be able to pull any data from the given value.
        Parameters:
        data - the data that might be useful to this extractor (could be null)
        Returns:
        Returns true if the data is meaningful to this extractor
      • extractData

        Serializable extractData​(Serializable value)
                          throws Throwable
        Convert an value passed into the audit components into a value to be recorded.
        Parameters:
        value - the source data
        Returns:
        the extracted data including null
        Throws:
        Throwable - All errors will be handled by the calling framework