@ProviderType
public interface DistributionResponse
DistributionResponse
represents the outcome of a
DistributionRequest
as handled by a certain distribution agent.
Such a response will include the state
of
the request
and optionally a message for more
verbose information about the outcome of the request.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
returns a verbose message of the response
|
DistributionRequestState |
getState()
returns the state of the associated
DistributionRequest |
boolean |
isSuccessful()
returns the status of the request, whether it is successful or not.
|
boolean isSuccessful()
getState
true
if request has been accepted by the agent.@Nonnull DistributionRequestState getState()
DistributionRequest
@CheckForNull java.lang.String getMessage()
Copyright © 2010 - 2020 Adobe. All Rights Reserved