public class FileDistributionPackageBuilder extends AbstractDistributionPackageBuilder
DistributionPackageBuilder
based on files.Constructor and Description |
---|
FileDistributionPackageBuilder(String type,
DistributionContentSerializer distributionContentSerializer,
String tempFilesFolder,
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) |
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, readPackage
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 stream) 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
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.