Interface PayloadInfoBuilderContext
PayloadInfoBuilderContext provides the necessary contextual information to the
PayloadInfoBuilder for it
to be able to do its job.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe initiator hint provides information on where the call into the PayloadInfoBuilder was originated. -
Method Summary
Modifier and TypeMethodDescriptionInstanciate aPayloadInfo.Return theInboxItemto get the PayloadInfo for.Return the initiator of the call into the PayloadInfoBuilder.The payload path to use if there is no InboxItem.TheResourceResolveravailable for use by the PayloadInfoBuilder.voidsetInboxItem(InboxItem inboxItem) Set theInboxItemto get the PayloadInfo for.voidsetInitiatorHint(String initiatorHint) Specify who initiated the call into the PayloadInfoBuilder.voidsetPayloadPath(String payloadPath) Set the payload path to use when there is no InboxItem.voidsetResourceResolver(ResourceResolver resolver) Set theResourceResolverto be used by the PayloadInfoBuilder.
-
Method Details
-
createPayloadInfo
PayloadInfo createPayloadInfo()Instanciate aPayloadInfo.- Returns:
- An empty PayloadInfo
-
getInitiatorHint
String getInitiatorHint()Return the initiator of the call into the PayloadInfoBuilder.- Returns:
- The initiator.
- See Also:
-
setInitiatorHint
Specify who initiated the call into the PayloadInfoBuilder.- Parameters:
initiatorHint- The initiator- See Also:
-
getInboxItem
InboxItem getInboxItem()Return theInboxItemto get the PayloadInfo for.- Returns:
- The InboxItem
-
setInboxItem
Set theInboxItemto get the PayloadInfo for.- Parameters:
inboxItem- the inbox item
-
getResourceResolver
ResourceResolver getResourceResolver()TheResourceResolveravailable for use by the PayloadInfoBuilder.- Returns:
- The ResourceResolver
-
setResourceResolver
Set theResourceResolverto be used by the PayloadInfoBuilder.- Parameters:
resolver- The resolver
-
getPayloadPath
String getPayloadPath()The payload path to use if there is no InboxItem.- Returns:
- The payload path
-
setPayloadPath
Set the payload path to use when there is no InboxItem.- Parameters:
payloadPath- The payload path
-