Interface DataGenerator
-
- All Known Implementing Classes:
AbstractDataGenerator,AuthenticatedPersonDataGenerator,AuthenticatedUserDataGenerator,SystemTimeDataGenerator,TransactionIdDataGenerator
@AlfrescoPublicApi public interface DataGenerator
Interface for Audit data value generators.These are used to produce auditable data values extract auditable values from nothing; typically these values are derived from the system state or from the thread context. null values will be ignored by the audit framework.- Since:
- 3.2
- Author:
- Derek Hulley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SerializablegetData()Get the data generated by the instance.
-
-
-
Method Detail
-
getData
Serializable getData() throws Throwable
Get the data generated by the instance.- Returns:
- Returns the generated data or null if no data could be generated
- Throws:
Throwable- All exceptions are handled by the framework
-
-