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, readPackage
public 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 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.