Package | Description |
---|---|
org.apache.sling.pipes | |
org.apache.sling.pipes.internal | |
org.apache.sling.pipes.internal.inputstream | |
org.apache.sling.pipes.internal.slingquery |
Modifier and Type | Class and Description |
---|---|
class |
AbstractInputStreamPipe
Input Stream based pipe, coming from web, from request, resource tree, web
binding is updated by the returned iterator
|
class |
BasePipe
provides generic utilities for a pipe, is also a dummy pipe (outputs its input, without changing anything)
|
class |
SuperPipe
Pipe that outputs some other pipes output, managing for them what is their outputs, and bindings
|
Modifier and Type | Field and Description |
---|---|
protected Pipe |
OutputWriter.pipe |
Modifier and Type | Field and Description |
---|---|
protected List<Pipe> |
SuperPipe.subpipes |
Modifier and Type | Method and Description |
---|---|
Pipe |
PipeBuilder.build()
builds a configured pipe.
|
Pipe |
PipeBuilder.build(String path)
builds a configured pipe.
|
protected Pipe |
SuperPipe.getFirstPipe()
Return the first pipe in the container
|
protected Pipe |
SuperPipe.getLastPipe()
Return the last pipe in the container
|
Pipe |
Plumber.getPipe(org.apache.sling.api.resource.Resource resource)
Instantiate a pipe from the given resource and returns it
|
Pipe |
Plumber.getPipe(org.apache.sling.api.resource.Resource resource,
PipeBindings upperBindings)
Instantiate a pipe from the given resource and returns it
|
protected Pipe |
BasePipe.getPreviousPipe()
Retrieves previous pipe if contained by a parent, or referrer's
|
Pipe |
SuperPipe.getPreviousPipe(Pipe pipe)
Return the previous pipe of the given child pipe
|
Modifier and Type | Method and Description |
---|---|
ExecutionResult |
Plumber.execute(org.apache.sling.api.resource.ResourceResolver resolver,
Pipe pipe,
Map bindings,
OutputWriter writer,
boolean save)
Executes a given pipe
|
Pipe |
SuperPipe.getPreviousPipe(Pipe pipe)
Return the previous pipe of the given child pipe
|
void |
OutputWriter.setPipe(Pipe pipe)
Setter
|
void |
PipeBindings.updateBindings(Pipe pipe,
org.apache.sling.api.resource.Resource resource)
Update current resource of a given pipe, and appropriate binding
|
Modifier and Type | Class and Description |
---|---|
class |
ACLPipe |
class |
AuthorizablePipe
pipe that outputs an authorizable resource based on the id set in expr
|
class |
ContainerPipe
This pipe executes the pipes it has in its configuration, chaining their result, and
modifying each contained pipe's expression with its context
|
class |
FilterPipe
intends to output the input only if configured conditions are fulfilled
|
class |
ManifoldPipe
This pipe executes the pipes it has in its configuration, in sequence or parallel;
the output of the children pipes is merged;
if execution is parallel, merge ordering is random;
duplicate resources are kept in the output
ManifoldPipe uses a thread pool to run its subpipes, but is NOT itself thread-safe
|
class |
MovePipe
Does a JCR Move of a node, returns the resource corresponding to the moved node
|
class |
MultiPropertyPipe
reads input MV property, outputs N times the input parent node resource, where N is the number of
values in the property, outputs each value in the bindings
|
class |
NotPipe
executes a pipe referred in the configuration, but invert output:
nothing if the pipe has something, input if the pipe has nothing
|
class |
PackagePipe
Package pipe, creates or read vault package
|
class |
PathPipe
creates or get given expression's path and returns corresponding resource
this pipe can be configured with the following properties:
nodeType resource type with which the leaf node of the created path will be created
intermediateType resource type with which intermediate nodse of the created path will be created
autosave flag indicating wether this pipe should triggers a commit at the end of the execution
|
class |
ReferencePipe
executes a pipe referred in the configuration
|
class |
RemovePipe
this pipe tries to remove the input resource, abstracting its type,
returning parent of the input
|
class |
TraversePipe
Traverse either nodes or properties, in breadth first or depth first, for properties, they can be white listed
|
class |
WritePipe
pipe that writes to configured resource
|
class |
XPathPipe
generates output based on an xpath query (no input is considered)
|
Modifier and Type | Field and Description |
---|---|
protected Pipe |
ReferencePipe.reference |
Modifier and Type | Method and Description |
---|---|
Pipe |
PipeBuilderImpl.build() |
Pipe |
PipeBuilderImpl.build(String path) |
Pipe |
BindingProvider.getPipe() |
Pipe |
PlumberImpl.getPipe(org.apache.sling.api.resource.Resource resource) |
Pipe |
PlumberImpl.getPipe(org.apache.sling.api.resource.Resource resource,
PipeBindings upperBindings) |
Modifier and Type | Method and Description |
---|---|
protected void |
PlumberImpl.checkError(Pipe pipe,
ExecutionResult result)
check if current state contains error, and record it
|
ExecutionResult |
PlumberImpl.execute(org.apache.sling.api.resource.ResourceResolver resolver,
Pipe pipe,
Map additionalBindings,
OutputWriter writer,
boolean save) |
protected void |
PlumberImpl.persist(org.apache.sling.api.resource.ResourceResolver resolver,
Pipe pipe,
ExecutionResult result,
org.apache.sling.api.resource.Resource currentResource)
Persists pipe change if big enough, or ended, and eventually distribute changes
|
protected void |
PlumberImpl.writeStatus(Pipe pipe,
String status)
writes the status of the pipe, also update
PN_STATUS_MODIFIED date |
Constructor and Description |
---|
BindingProvider(Pipe pipe) |
PipeMonitor(Plumber currentPlumber,
Pipe pipe) |
Modifier and Type | Class and Description |
---|---|
class |
CsvPipe
Csv input stream pipe, similar at what
|
class |
JsonPipe
Pipe outputting binding related to a json stream: either an object
|
class |
RegexpPipe
Pipe outputting matches of a regexp from a plain text file
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractExpressionSlingQueryPipe
deals with sling query pipe code that takes an expression as input
|
class |
AbstractSlingQueryPipe
deals with common sling query pipe code
|
class |
ChildrenPipe
this pipe uses SlingQuery to filters children (filter defined in expr property) of
a resource (defined in the path property)
|
class |
ClosestPipe |
class |
FindPipe |
class |
ParentPipe
returns sling query parents resources of input resource
|
class |
ParentsPipe
returns sling query parents resources of input resource
|
class |
SiblingsPipe |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.