public class ResourceDistributionPackageBuilder extends AbstractDistributionPackageBuilder
Constructor and Description |
---|
ResourceDistributionPackageBuilder(String type,
DistributionContentSerializer distributionContentSerializer,
String tempFilesFolder,
int fileThreshold,
FileBackedMemoryOutputStream.MemoryUnit memoryUnit,
boolean useOffHeapMemory,
String digestAlgorithm,
String[] nodeFilters,
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) |
@NotNull Iterator<ResourceDistributionPackage> |
getPackages(@NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver) |
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 inputStream) |
createPackage, getPackage, getType, installPackage, installPackage, readPackage
public ResourceDistributionPackageBuilder(String type, DistributionContentSerializer distributionContentSerializer, String tempFilesFolder, int fileThreshold, FileBackedMemoryOutputStream.MemoryUnit memoryUnit, boolean useOffHeapMemory, String digestAlgorithm, String[] nodeFilters, 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 AbstractDistributionPackageBuilder
DistributionException
protected DistributionPackage readPackageInternal(@NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver, @NotNull @NotNull InputStream inputStream) throws DistributionException
readPackageInternal
in class AbstractDistributionPackageBuilder
DistributionException
protected boolean installPackageInternal(@NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver, @NotNull @NotNull InputStream inputStream) throws DistributionException
installPackageInternal
in class AbstractDistributionPackageBuilder
DistributionException
protected DistributionPackage getPackageInternal(@NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver, @NotNull @NotNull String id)
getPackageInternal
in class AbstractDistributionPackageBuilder
@NotNull public @NotNull Iterator<ResourceDistributionPackage> getPackages(@NotNull @NotNull org.apache.sling.api.resource.ResourceResolver resourceResolver) throws DistributionException
DistributionException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.