@Immutable public interface Batch
| Modifier and Type | Method and Description |
|---|---|
int |
exec(Map<String,String> args,
OutputStream output)
Execute encapsulated script with this map of arguments.
|
int exec(@NotNull(message="args can\'t be NULL") Map<String,String> args, @NotNull(message="output can\'t be NULL") OutputStream output) throws IOException
After execution output stream is closed in any case.
args - Arguments to use in Velocity scriptoutput - Output stream (combined stdout and stderr)IOException - If some IO problemCopyright © 2009–2014 Rultor Inc.. All rights reserved.