| Modifier and Type | Field and Description |
|---|---|
static String |
PN_SLEEP
Sleep time, in ms, after each resource returned
|
static String |
RESOURCE_TYPE |
bindings, distributionAgent, DRYRUN_EXPR, DRYRUN_KEY, dryRunObject, EMPTY_ITERATOR, IGNORED_PROPERTIES, parent, plumber, PN_STATUS, PN_STATUS_MODIFIED, properties, READ_ONLY, referrer, resolver, resource, RT_PREFIX, STATUS_FINISHED, STATUS_STARTED| Constructor and Description |
|---|
ContainerPipe(Plumber plumber,
org.apache.sling.api.resource.Resource resource)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Pipe |
getFirstPipe()
Return the first pipe in the container
|
Pipe |
getLastPipe()
Return the last pipe in the container
|
Iterator<org.apache.sling.api.resource.Resource> |
getOutput()
default execution, just returns current resource
|
org.apache.sling.api.resource.Resource |
getOutputResource()
output resource of the container pipe
|
Pipe |
getPreviousPipe(Pipe pipe)
Returns the pipe immediately before the given pipe, null if it's the first
|
boolean |
modifiesContent()
returns true if that pipe modifies content during its execution
|
void |
setBindings(PipeBindings bindings)
set the pipe's bindings
|
getBindings, getConfiguration, getConfiguredInput, getDistributionAgent, getExpr, getInput, getName, getOutputBinding, getParent, getPath, getPreviousPipe, getResource, isDryRun, setParent, setReferrer, toStringpublic static final String RESOURCE_TYPE
public static final String PN_SLEEP
public boolean modifiesContent()
PipemodifiesContent in interface PipemodifiesContent in class BasePipepublic void setBindings(PipeBindings bindings)
PipesetBindings in interface PipesetBindings in class BasePipebindings - bindings to setpublic Iterator<org.apache.sling.api.resource.Resource> getOutput()
BasePipepublic Pipe getPreviousPipe(Pipe pipe)
pipe - given pipepublic Pipe getFirstPipe()
public Pipe getLastPipe()
public org.apache.sling.api.resource.Resource getOutputResource()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.