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 |
---|---|
String[] |
getPaths()
get the paths covered by the package holding this info
|
org.apache.sling.distribution.DistributionRequestType |
getRequestType()
get the request type associated to the package holding this info
|
String |
getType() |
String |
toString() |
clear, containsKey, containsValue, entrySet, get, get, get, isEmpty, keySet, put, putAll, remove, size, values
public 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)
@CheckForNull public String[] getPaths()
@CheckForNull public org.apache.sling.distribution.DistributionRequestType getRequestType()
public String toString()
toString
in class org.apache.sling.api.wrappers.ValueMapDecorator
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.