@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 and additional properties.| Modifier and Type | Method and Description |
|---|---|
DistributionResponseInfo |
getDistributionInfo()
returns additional properties related to the
DistributionRequest |
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()
getStatetrue if request has been accepted by the agent.@Nonnull DistributionRequestState getState()
DistributionRequest@Nullable String getMessage()
@Nonnull DistributionResponseInfo getDistributionInfo()
DistributionRequestCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.