@ProviderType
public interface DistributionRequest
DistributionRequest
represents the need from the caller to have
some content being distributed from a source instance to a target instance.Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getFilters(java.lang.String path)
Get the filters applicable for a specific path
+/foo/.* - include all content under /foo
-/foo - exclude /foo node
filters are checked in order and the last matched filter determines inclusion/exclusion
|
java.lang.String[] |
getPaths()
Get the root paths for this distribution request
|
DistributionRequestType |
getRequestType()
Get the
DistributionRequestType associated with this request |
boolean |
isDeep(java.lang.String path)
Returns whether the paths are covering the entire subtree (deep) or just the specified nodes (shallow)
|
@Nonnull DistributionRequestType getRequestType()
DistributionRequestType
associated with this requestDistributionRequestType
@Nonnull java.lang.String[] getPaths()
boolean isDeep(@Nonnull java.lang.String path)
path
- the path to be checkedtrue
if the paths are deep@Nonnull java.lang.String[] getFilters(java.lang.String path)
Copyright © 2010 - 2020 Adobe. All Rights Reserved