< prev index next >

test/tools/lib/toolbox/JavaTask.java

Print this page

        

*** 65,74 **** --- 65,84 ---- this.vmOptions = Arrays.asList(vmOptions); return this; } /** + * Sets the VM options. + * @param vmOptions the options + * @return this task object + */ + public JavaTask vmOptions(List<String> vmOptions) { + this.vmOptions = vmOptions; + return this; + } + + /** * Sets the name of the class to be executed. * @param className the name of the class * @return this task object */ public JavaTask className(String className) {
*** 85,94 **** --- 95,114 ---- this.classArgs = Arrays.asList(classArgs); return this; } /** + * Sets the arguments for the class to be executed. + * @param classArgs the arguments + * @return this task object + */ + public JavaTask classArgs(List<String> classArgs) { + this.classArgs = classArgs; + return this; + } + + /** * Sets whether or not the standard VM and java options for the test should be passed * to the new VM instance. If this method is not called, the default behavior is that * the options will be passed to the new VM instance. * * @param includeStandardOptions whether or not the standard VM and java options for
< prev index next >