| Package | Description |
|---|---|
| org.apache.sling.pipes | |
| org.apache.sling.pipes.internal | |
| 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 |
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 |
ReferencePipe
executes a pipe referred in the configuration
|
| Modifier and Type | Field and Description |
|---|---|
protected Pipe |
OutputWriter.pipe |
protected Pipe |
ReferencePipe.reference |
| Modifier and Type | Method and Description |
|---|---|
Pipe |
PipeBuilder.build()
builds a configured pipe.
|
Pipe |
PipeBuilder.build(String path)
builds a configured pipe.
|
Pipe |
ContainerPipe.getFirstPipe()
Return the first pipe in the container
|
Pipe |
ContainerPipe.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
|
protected Pipe |
BasePipe.getPreviousPipe()
Retrieves previous pipe if contained by a parent, or referrer's
|
Pipe |
ContainerPipe.getPreviousPipe(Pipe pipe)
Returns the pipe immediately before the given pipe, null if it's the first
|
| 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 |
ContainerPipe.getPreviousPipe(Pipe pipe)
Returns the pipe immediately before the given pipe, null if it's the first
|
void |
OutputWriter.setPipe(Pipe pipe)
Setter
|
void |
CustomOutputWriter.setPipe(Pipe pipe) |
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 |
AuthorizablePipe
pipe that outputs an authorizable resource based on the id set in expr
|
class |
CsvPipe
Csv input stream pipe, similar at what
|
class |
FilterPipe
intends to output the input only if configured conditions are fulfilled
|
class |
JsonPipe
Pipe outputting binding related to a json stream: either an object
|
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 |
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 |
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 | Method and Description |
|---|---|
Pipe |
PipeBuilderImpl.build() |
Pipe |
PipeBuilderImpl.build(String path) |
Pipe |
PlumberImpl.getPipe(org.apache.sling.api.resource.Resource resource) |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|
PipeMonitor(Plumber currentPlumber,
Pipe pipe) |
| 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–2018 The Apache Software Foundation. All rights reserved.