equal
deleted
inserted
replaced
65 this.vmOptions = Arrays.asList(vmOptions); |
65 this.vmOptions = Arrays.asList(vmOptions); |
66 return this; |
66 return this; |
67 } |
67 } |
68 |
68 |
69 /** |
69 /** |
|
70 * Sets the VM options. |
|
71 * @param vmOptions the options |
|
72 * @return this task object |
|
73 */ |
|
74 public JavaTask vmOptions(List<String> vmOptions) { |
|
75 this.vmOptions = vmOptions; |
|
76 return this; |
|
77 } |
|
78 |
|
79 /** |
70 * Sets the name of the class to be executed. |
80 * Sets the name of the class to be executed. |
71 * @param className the name of the class |
81 * @param className the name of the class |
72 * @return this task object |
82 * @return this task object |
73 */ |
83 */ |
74 public JavaTask className(String className) { |
84 public JavaTask className(String className) { |
81 * @param classArgs the arguments |
91 * @param classArgs the arguments |
82 * @return this task object |
92 * @return this task object |
83 */ |
93 */ |
84 public JavaTask classArgs(String... classArgs) { |
94 public JavaTask classArgs(String... classArgs) { |
85 this.classArgs = Arrays.asList(classArgs); |
95 this.classArgs = Arrays.asList(classArgs); |
|
96 return this; |
|
97 } |
|
98 |
|
99 /** |
|
100 * Sets the arguments for the class to be executed. |
|
101 * @param classArgs the arguments |
|
102 * @return this task object |
|
103 */ |
|
104 public JavaTask classArgs(List<String> classArgs) { |
|
105 this.classArgs = classArgs; |
86 return this; |
106 return this; |
87 } |
107 } |
88 |
108 |
89 /** |
109 /** |
90 * Sets whether or not the standard VM and java options for the test should be passed |
110 * Sets whether or not the standard VM and java options for the test should be passed |