public interface ExtensionsDataBuilder
Modifier and Type | Method and Description |
---|---|
ExtensionsData |
build(Payload payload)
builds and validates an ExtensionsData object that is created with the supplied payload.
|
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.
|
Payload createPayload()
ExtensionsData build(Payload payload) throws ExtensionsDataException
payload
- the payload the is assigned to this newly created ExtensionsData object.ExtensionsDataException
- if the ExtensionsDataSpecification contract was violated in any manner.