@NotNull Callback<T> factory) throws RunBuildException;\r
\r
public interface Callback<T> {\r
- T createCommand(@NotNull File program, @NotNull final File workingDir, @NotNull Collection<String> argz) throws RunBuildException;\r
+ /**\r
+ * Called with generated arguments to crate execurable instance or run command\r
+ * @param program program to run\r
+ * @param workingDir working firectory of program\r
+ * @param argz arguments array\r
+ * @return some result object depending of caller's desire\r
+ * @throws RunBuildException if failed to create/execure command\r
+ */\r
+ T createCommand(@NotNull File program,\r
+ @NotNull final File workingDir,\r
+ @NotNull Collection<String> argz) throws RunBuildException;\r
}\r
}\r