public abstract class TraversData extends Object
| Constructor and Description |
|---|
TraversData() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyActionsOnResource(org.apache.sling.api.resource.Resource resource,
de.valtech.aecu.api.groovy.console.bindings.filters.FilterBy filter,
List<Action> actions,
StringBuilder output,
boolean dryRun)
Applies the actions on the given resource.
|
protected boolean |
isResourceValid(org.apache.sling.api.resource.Resource resource)
Checks if the resource is still valid.
|
abstract void |
traverse(BindingContext context,
de.valtech.aecu.api.groovy.console.bindings.filters.FilterBy filter,
List<Action> actions,
StringBuilder stringBuffer,
boolean dryRun)
Traverses the resources and performs the filters and actions.
|
public abstract void traverse(@Nonnull BindingContext context, de.valtech.aecu.api.groovy.console.bindings.filters.FilterBy filter, @Nonnull List<Action> actions, @Nonnull StringBuilder stringBuffer, boolean dryRun) throws org.apache.sling.api.resource.PersistenceException, de.valtech.aecu.api.service.AecuException
context - binding contextfilter - filteractions - list of actionsstringBuffer - output bufferdryRun - dry runorg.apache.sling.api.resource.PersistenceException - error traversing nodesde.valtech.aecu.api.service.AecuException - other errorprotected boolean isResourceValid(org.apache.sling.api.resource.Resource resource)
resource - resourceprotected void applyActionsOnResource(@Nonnull org.apache.sling.api.resource.Resource resource, de.valtech.aecu.api.groovy.console.bindings.filters.FilterBy filter, List<Action> actions, StringBuilder output, boolean dryRun) throws org.apache.sling.api.resource.PersistenceException, de.valtech.aecu.api.service.AecuException
resource - resourcefilter - filteractions - list of actionsoutput - outputdryRun - dry-run activeorg.apache.sling.api.resource.PersistenceException - error during executionde.valtech.aecu.api.service.AecuException - other errorCopyright © 2019. All rights reserved.