public final class DistributionPackageInfo
extends org.apache.sling.api.wrappers.ValueMapDecorator
implements org.apache.sling.api.resource.ValueMap
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_PACKAGE_TYPE
distribution package type
|
static String |
PROPERTY_REQUEST_DEEP_PATHS
distribution request deep paths
|
static String |
PROPERTY_REQUEST_PATHS
distribution request paths
|
static String |
PROPERTY_REQUEST_TYPE
distribution request type
|
| Constructor and Description |
|---|
DistributionPackageInfo(String packageType)
Creates a new wrapper around an empty map.
|
DistributionPackageInfo(String packageType,
Map<String,Object> base)
Creates a new wrapper around a given map.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable String[] |
getPaths()
get the paths covered by the package holding this info
|
@Nullable org.apache.sling.distribution.DistributionRequestType |
getRequestType()
get the request type associated to the package holding this info
|
@NotNull String |
getType() |
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 static final String PROPERTY_PACKAGE_TYPE
public static final String PROPERTY_REQUEST_PATHS
public static final String PROPERTY_REQUEST_DEEP_PATHS
public static final String PROPERTY_REQUEST_TYPE
public DistributionPackageInfo(String packageType, Map<String,Object> base)
base - wrapped objectpublic DistributionPackageInfo(String packageType)
@NotNull public @NotNull String getType()
@Nullable public @Nullable String[] getPaths()
@Nullable public @Nullable org.apache.sling.distribution.DistributionRequestType getRequestType()
public String toString()
toString in class org.apache.sling.api.wrappers.ValueMapDecoratorCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.