Interface ValueGenerator<T>


public interface ValueGenerator<T>
Value Generators analyze the current record and produce a value that will be inserted or updated in the record.
Author:
jbanes
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Implementations should examine the record and produce a resulting value.
  • Method Details

    • generate

      T generate(JSONObject record) throws ConvirganceException
      Implementations should examine the record and produce a resulting value. The passed in record must not be modified.
      Parameters:
      record - the record to analyze
      Returns:
      the generated value
      Throws:
      ConvirganceException - if there is an unexpected error during generation