| Modifier and Type | Field and Description |
|---|---|
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 |
|---|
WritePipe(Plumber plumber,
org.apache.sling.api.resource.Resource resource)
public constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
computeValue(org.apache.sling.api.resource.Resource resource,
String key,
Object expression) |
protected Object |
computeValue(org.apache.sling.api.resource.Resource resource,
String key,
String expression)
convert the configured string value (can be an expression) in a value that can be written in a resource.
|
Iterator<org.apache.sling.api.resource.Resource> |
getOutput()
default execution, just returns current resource
|
boolean |
modifiesContent()
returns true if that pipe modifies content during its execution
|
getBindings, getConfiguration, getConfiguredInput, getDistributionAgent, getExpr, getInput, getName, getOutputBinding, getParent, getPath, getPreviousPipe, getResource, isDryRun, setBindings, setParent, setReferrer, toStringpublic static final String RESOURCE_TYPE
protected Object computeValue(org.apache.sling.api.resource.Resource resource, String key, String expression)
+[value] in which case value
is added to the MV propertyresource - resource to which value will be writtenkey - property to which value will be writtenexpression - configured value to writeprotected Object computeValue(org.apache.sling.api.resource.Resource resource, String key, Object expression)
public boolean modifiesContent()
PipemodifiesContent in interface PipemodifiesContent in class BasePipeCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.