public interface CommandExecutor
| Modifier and Type | Method and Description |
|---|---|
ExecutionResult |
execute(org.apache.sling.api.resource.ResourceResolver resolver,
String path,
String... options)
internal execution command handler
|
String |
help() |
PipeBuilder |
parse(org.apache.sling.api.resource.ResourceResolver resolver,
String... commands) |
ExecutionResult execute(org.apache.sling.api.resource.ResourceResolver resolver, String path, String... options)
resolver - resolver with which pipe will be executedpath - pipe path to executeoptions - different options tokensPipeBuilder parse(org.apache.sling.api.resource.ResourceResolver resolver, String... commands) throws InvocationTargetException, IllegalAccessException
resolver - resource resolver with which pipe will build the pipecommands - list of commands for building the pipeInvocationTargetException - can happen in case the mapping with PB api went wrongIllegalAccessException - can happen in case the mapping with PB api went wrongString help()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.