public abstract class AbstractExpressionSlingQueryPipe extends AbstractSlingQueryPipe
afterHook, beforeHook, bindingProviders, bindings, distributionAgent, DRYRUN_EXPR, DRYRUN_KEY, dryRunObject, EMPTY_ITERATOR, IGNORED_PROPERTIES, parent, plumber, PN_AFTERHOOK, PN_BEFOREHOOK, PN_STATUS, PN_STATUS_MODIFIED, properties, READ_ONLY, resolver, resource, RESOURCE_TYPE, RT_PREFIX, SLASH, STATUS_FINISHED, STATUS_STARTED
Constructor and Description |
---|
AbstractExpressionSlingQueryPipe(Plumber plumber,
org.apache.sling.api.resource.Resource resource,
PipeBindings upperBindings) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.sling.query.SlingQuery |
getQuery(org.apache.sling.api.resource.Resource resource)
generates a sling query object out of a resource
|
protected abstract org.apache.sling.query.SlingQuery |
getQuery(org.apache.sling.api.resource.Resource resource,
String expression)
generates a sling query object out of a resource and an expression
|
computeOutput, modifiesContent
after, before, getBindings, getComputedPath, getConfiguration, getDistributionAgent, getExpr, getInput, getName, getOutput, getOutputBinding, getParent, getPath, getPreviousPipe, getPreviousResource, getRawExpression, getRawPath, getResource, isDryRun, isRootPath, provideAdditionalBindings, setParent, toString
public AbstractExpressionSlingQueryPipe(Plumber plumber, org.apache.sling.api.resource.Resource resource, PipeBindings upperBindings) throws Exception
Exception
protected abstract org.apache.sling.query.SlingQuery getQuery(org.apache.sling.api.resource.Resource resource, String expression)
resource
- input resourceexpression
- pipe's expression configurationprotected org.apache.sling.query.SlingQuery getQuery(org.apache.sling.api.resource.Resource resource)
AbstractSlingQueryPipe
getQuery
in class AbstractSlingQueryPipe
resource
- input resourceCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.