@ConsumerType
public interface DistributionRequestHandler
DistributionRequests passed to a
DistributionTrigger| Modifier and Type | Method and Description |
|---|---|
@Nullable DistributionComponentKind |
getComponentKind()
returns the kind of component that owns this request handler.
|
@NotNull String |
getName()
returns the name of the owner of this request handler.
|
void |
handle(@Nullable org.apache.sling.api.resource.ResourceResolver resourceResolver,
@NotNull org.apache.sling.distribution.DistributionRequest request)
handle the request according to the trigger implementation.
|
@NotNull @NotNull String getName()
@Nullable @Nullable DistributionComponentKind getComponentKind()
void handle(@Nullable
@Nullable org.apache.sling.api.resource.ResourceResolver resourceResolver,
@NotNull
@NotNull org.apache.sling.distribution.DistributionRequest request)
request - a distribution requestCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.