public class SimpleDistributionResponse extends Object implements org.apache.sling.distribution.DistributionResponse
DistributionResponse where success is given by not being in FAILED state.| 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() |
String |
toString() |
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.DistributionResponsepublic String getMessage()
getMessage in interface org.apache.sling.distribution.DistributionResponseCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.