@ConsumerType
public interface Pipe
| Modifier and Type | Field and Description |
|---|---|
static String |
NN_CONF
Node name for the pipe's configuration
|
static String |
PN_DISTRIBUTION_AGENT
Distribution agent (for distributing output resources)
|
static String |
PN_EXPR
expression of the pipe, usage depends on the pipe implementation
|
static String |
PN_NAME
Name of the pipe
|
static String |
PN_PATH
resource's path associated to the path, usage depends on the pipe implementation
|
| Modifier and Type | Method and Description |
|---|---|
PipeBindings |
getBindings()
returns the pipe's bindings
|
org.apache.sling.api.resource.Resource |
getConfiguredInput()
Get the pipe's optional configured resource or null
|
String |
getDistributionAgent()
Get Distribution agent
|
org.apache.sling.api.resource.Resource |
getInput()
Get pipe current's resource *before* next execution, meaning either the
configured resource, either previous' pipe output resource
|
String |
getName()
Return the name of that pipe
|
Iterator<org.apache.sling.api.resource.Resource> |
getOutput()
Executes the pipe, can be contained in a parent or not
|
Object |
getOutputBinding()
returns the binding output used in container pipe's expression
|
ContainerPipe |
getParent()
Return parent's pipe (can be null)
|
org.apache.sling.api.resource.Resource |
getResource()
get the pipe configuration resource
|
boolean |
isDryRun()
returns true if that pipe is set not to write content
|
boolean |
modifiesContent()
returns true if that pipe modifies content during its execution
|
void |
setBindings(PipeBindings bindings)
set the pipe's bindings
|
void |
setParent(ContainerPipe parent)
set the pipe parent
|
void |
setReferrer(ReferencePipe pipe)
sets the reference pipe this pipe is referred by
|
static final String PN_NAME
static final String PN_EXPR
static final String PN_PATH
static final String NN_CONF
static final String PN_DISTRIBUTION_AGENT
boolean modifiesContent()
boolean isDryRun()
String getName()
void setParent(ContainerPipe parent)
parent - container pipeContainerPipe getParent()
org.apache.sling.api.resource.Resource getConfiguredInput()
org.apache.sling.api.resource.Resource getInput()
org.apache.sling.api.resource.Resource getResource()
Object getOutputBinding()
PipeBindings getBindings()
void setBindings(PipeBindings bindings)
bindings - bindings to setIterator<org.apache.sling.api.resource.Resource> getOutput()
String getDistributionAgent()
void setReferrer(ReferencePipe pipe)
pipe - referrer that refers to this instanceCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.