public class DistributionQueueItem
extends org.apache.sling.api.wrappers.ValueMapDecorator
implements org.apache.sling.api.resource.ValueMap
DistributionQueue
This is basically a proxy to DistributionPackage designed to avoid having
to keep the package stream into
the queues.| Constructor and Description |
|---|
DistributionQueueItem(String id,
long size,
Map<String,Object> base) |
DistributionQueueItem(String packageId,
Map<String,Object> base) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPackageId() |
long |
getSize()
retrieve the size of the package referenced by this queue item.
|
String |
toString() |
clear, containsKey, containsValue, entrySet, get, get, get, isEmpty, keySet, put, putAll, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic DistributionQueueItem(@Nonnull String packageId, Map<String,Object> base)
public long getSize()
-1 if not available.public String toString()
toString in class org.apache.sling.api.wrappers.ValueMapDecoratorCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.