Interface ExtensionsDataBuilder


public interface ExtensionsDataBuilder
Class creates Payloads and ExtensionData objects that can be added to the ExtensionsDataCache.
  • Method Summary

    Modifier and Type
    Method
    Description
    build(Payload payload)
    builds and validates an ExtensionsData object that is created with the supplied payload.
    creates an empty Payload that is ready to be loaded with data in accordance to the ExtensionsDataSpecification that is associated with this builder.
  • Method Details

    • createPayload

      Payload createPayload()
      creates an empty Payload that is ready to be loaded with data in accordance to the ExtensionsDataSpecification that is associated with this builder.
      Returns:
      an empty Payload that is ready to be loaded with data.
    • build

      builds and validates an ExtensionsData object that is created with the supplied payload.
      Parameters:
      payload - the payload the is assigned to this newly created ExtensionsData object.
      Returns:
      the newly created and validated ExtensionsData object
      Throws:
      ExtensionsDataException - if the ExtensionsDataSpecification contract was violated in any manner.