Interface DataExtractor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.io.Serializable extractData​(java.io.Serializable value)
      Convert an value passed into the audit components into a value to be recorded.
      boolean isSupported​(java.io.Serializable data)
      Determines if the extractor will be able to pull any data from the given value.
    • Method Detail

      • isSupported

        boolean isSupported​(java.io.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

        java.io.Serializable extractData​(java.io.Serializable value)
                                  throws java.lang.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:
        java.lang.Throwable - All errors will be handled by the calling framework