public class InMemoryDistributionPackageBuilder extends AbstractDistributionPackageBuilder
| Constructor and Description |
|---|
InMemoryDistributionPackageBuilder(@NotNull String type,
@NotNull DistributionContentSerializer serializer,
@Nullable String[] nodeFilters,
@Nullable String[] propertyFilters) |
| Modifier and Type | Method and Description |
|---|---|
protected DistributionPackage |
createPackageForAdd(@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver,
@NotNull org.apache.sling.distribution.DistributionRequest request) |
protected DistributionPackage |
getPackageInternal(@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver,
@NotNull String id) |
protected boolean |
installPackageInternal(@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver,
@NotNull InputStream inputStream) |
protected DistributionPackage |
readPackageInternal(@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver,
@NotNull InputStream stream) |
createPackage, getPackage, getType, installPackage, installPackage, readPackagepublic InMemoryDistributionPackageBuilder(@NotNull
@NotNull String type,
@NotNull
@NotNull DistributionContentSerializer serializer,
@Nullable
@Nullable String[] nodeFilters,
@Nullable
@Nullable String[] propertyFilters)
protected DistributionPackage createPackageForAdd(@NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver, @NotNull @NotNull org.apache.sling.distribution.DistributionRequest request) throws DistributionException
createPackageForAdd in class AbstractDistributionPackageBuilderDistributionExceptionprotected DistributionPackage readPackageInternal(@NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver, @NotNull @NotNull InputStream stream) throws DistributionException
readPackageInternal in class AbstractDistributionPackageBuilderDistributionExceptionprotected boolean installPackageInternal(@NotNull
@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver,
@NotNull
@NotNull InputStream inputStream)
throws DistributionException
installPackageInternal in class AbstractDistributionPackageBuilderDistributionExceptionprotected DistributionPackage getPackageInternal(@NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver, @NotNull @NotNull String id)
getPackageInternal in class AbstractDistributionPackageBuilderCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.