public class CompositeDistributionResponse extends SimpleDistributionResponse
SimpleDistributionResponse
.Constructor and Description |
---|
CompositeDistributionResponse(List<org.apache.sling.distribution.DistributionResponse> distributionResponses,
int packagesCount,
long packagseSize,
long exportTime) |
Modifier and Type | Method and Description |
---|---|
org.apache.sling.distribution.DistributionResponseInfo |
getDistributionInfo() |
long |
getExportTime() |
String |
getMessage() |
int |
getPackagesCount() |
long |
getPackagseSize() |
int |
getQueuesCount() |
@NotNull org.apache.sling.distribution.DistributionRequestState |
getState() |
boolean |
isSuccessful() |
String |
toString() |
public CompositeDistributionResponse(List<org.apache.sling.distribution.DistributionResponse> distributionResponses, int packagesCount, long packagseSize, long exportTime)
public boolean isSuccessful()
isSuccessful
in interface org.apache.sling.distribution.DistributionResponse
isSuccessful
in class SimpleDistributionResponse
@NotNull public @NotNull org.apache.sling.distribution.DistributionRequestState getState()
getState
in interface org.apache.sling.distribution.DistributionResponse
getState
in class SimpleDistributionResponse
public String getMessage()
getMessage
in interface org.apache.sling.distribution.DistributionResponse
getMessage
in class SimpleDistributionResponse
@Nonnull public org.apache.sling.distribution.DistributionResponseInfo getDistributionInfo()
getDistributionInfo
in interface org.apache.sling.distribution.DistributionResponse
getDistributionInfo
in class SimpleDistributionResponse
public String toString()
toString
in class SimpleDistributionResponse
public int getPackagesCount()
public long getExportTime()
public int getQueuesCount()
public long getPackagseSize()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.