Class NullValueDataExtractor
java.lang.Object
org.alfresco.repo.audit.extractor.AbstractDataExtractor
org.alfresco.repo.audit.extractor.NullValueDataExtractor
- All Implemented Interfaces:
DataExtractor,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.InitializingBean
An extractor that merely records a null value. This enables configuration such that the presence of a data path can be recorded when the actual value is of no interest.
- Since:
- 3.2
- Author:
- Derek Hulley
-
Field Summary
Fields inherited from class org.alfresco.repo.audit.extractor.AbstractDataExtractor
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert an value passed into the audit components into a value to be recorded.booleanisSupported(Serializable data) Determines if the extractor will be able to pull any data from the given value.Methods inherited from class org.alfresco.repo.audit.extractor.AbstractDataExtractor
afterPropertiesSet, equals, setBeanName, setRegistry
-
Constructor Details
-
NullValueDataExtractor
public NullValueDataExtractor()
-
-
Method Details
-
isSupported
Description copied from interface:DataExtractorDetermines 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 always
-
extractData
Description copied from interface:DataExtractorConvert an value passed into the audit components into a value to be recorded.- Parameters:
in- the source data- Returns:
- Returns null always
- Throws:
Throwable- All errors will be handled by the calling framework
-