@ParametersAreNonnullByDefault public final class SimpleDistributionResponse extends Object implements org.apache.sling.distribution.DistributionResponse
Constructor and Description |
---|
SimpleDistributionResponse(org.apache.sling.distribution.DistributionRequestState state,
String message) |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
org.apache.sling.distribution.DistributionRequestState |
getState() |
boolean |
isSuccessful() |
public SimpleDistributionResponse(org.apache.sling.distribution.DistributionRequestState state, String message)
public boolean isSuccessful()
isSuccessful
in interface org.apache.sling.distribution.DistributionResponse
@Nonnull public org.apache.sling.distribution.DistributionRequestState getState()
getState
in interface org.apache.sling.distribution.DistributionResponse
public String getMessage()
getMessage
in interface org.apache.sling.distribution.DistributionResponse
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.