Interface PayloadInfoBuilderContext
-
@ProviderType public interface PayloadInfoBuilderContext
PayloadInfoBuilderContext provides the necessary contextual information to thePayloadInfoBuilder
for it to be able to do its job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PayloadInfoBuilderContext.INITIATOR_HINT
The initiator hint provides information on where the call into the PayloadInfoBuilder was originated.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PayloadInfo
createPayloadInfo()
Instanciate aPayloadInfo
.InboxItem
getInboxItem()
Return theInboxItem
to get the PayloadInfo for.java.lang.String
getInitiatorHint()
Return the initiator of the call into the PayloadInfoBuilder.java.lang.String
getPayloadPath()
The payload path to use if there is no InboxItem.ResourceResolver
getResourceResolver()
TheResourceResolver
available for use by the PayloadInfoBuilder.void
setInboxItem(InboxItem inboxItem)
Set theInboxItem
to get the PayloadInfo for.void
setInitiatorHint(java.lang.String initiatorHint)
Specify who initiated the call into the PayloadInfoBuilder.void
setPayloadPath(java.lang.String payloadPath)
Set the payload path to use when there is no InboxItem.void
setResourceResolver(ResourceResolver resolver)
Set theResourceResolver
to be used by the PayloadInfoBuilder.
-
-
-
Method Detail
-
createPayloadInfo
PayloadInfo createPayloadInfo()
Instanciate aPayloadInfo
.- Returns:
- An empty PayloadInfo
-
getInitiatorHint
java.lang.String getInitiatorHint()
Return the initiator of the call into the PayloadInfoBuilder.- Returns:
- The initiator.
- See Also:
PayloadInfoBuilderContext.INITIATOR_HINT
-
setInitiatorHint
void setInitiatorHint(java.lang.String initiatorHint)
Specify who initiated the call into the PayloadInfoBuilder.- Parameters:
initiatorHint
- The initiator- See Also:
PayloadInfoBuilderContext.INITIATOR_HINT
-
getInboxItem
InboxItem getInboxItem()
Return theInboxItem
to get the PayloadInfo for.- Returns:
- The InboxItem
-
setInboxItem
void setInboxItem(InboxItem inboxItem)
Set theInboxItem
to get the PayloadInfo for.- Parameters:
inboxItem
- the inbox item
-
getResourceResolver
ResourceResolver getResourceResolver()
TheResourceResolver
available for use by the PayloadInfoBuilder.- Returns:
- The ResourceResolver
-
setResourceResolver
void setResourceResolver(ResourceResolver resolver)
Set theResourceResolver
to be used by the PayloadInfoBuilder.- Parameters:
resolver
- The resolver
-
getPayloadPath
java.lang.String getPayloadPath()
The payload path to use if there is no InboxItem.- Returns:
- The payload path
-
setPayloadPath
void setPayloadPath(java.lang.String payloadPath)
Set the payload path to use when there is no InboxItem.- Parameters:
payloadPath
- The payload path
-
-