public final 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(@NotNull String packageId,
Map<String,Object> base) |
Modifier and Type | Method and Description |
---|---|
@NotNull 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, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public DistributionQueueItem(@NotNull @NotNull String packageId, Map<String,Object> base)
@NotNull public @NotNull String getPackageId()
public long getSize()
-1
if not available.public String toString()
toString
in class org.apache.sling.api.wrappers.ValueMapDecorator
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.