Package org.apache.sling.pipes
Interface CommandExecutor
-
public interface CommandExecutor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionResultexecute(org.apache.sling.api.resource.ResourceResolver resolver, String path, String... options)internal execution command handlerStringhelp()PipeBuilderparse(org.apache.sling.api.resource.ResourceResolver resolver, String... commands)
-
-
-
Method Detail
-
execute
ExecutionResult execute(org.apache.sling.api.resource.ResourceResolver resolver, String path, String... options)
internal execution command handler- Parameters:
resolver- resolver with which pipe will be executedpath- pipe path to executeoptions- different options tokens- Returns:
- Execution results
-
parse
PipeBuilder parse(org.apache.sling.api.resource.ResourceResolver resolver, String... commands) throws InvocationTargetException, IllegalAccessException
- Parameters:
resolver- resource resolver with which pipe will build the pipecommands- list of commands for building the pipe- Returns:
- PipeBuilder instance (that can be used to finalize the command)
- Throws:
InvocationTargetException- can happen in case the mapping with PB api went wrongIllegalAccessException- can happen in case the mapping with PB api went wrong
-
help
String help()
- Returns:
- help string
-
-