159 * Sets the output directory. 160 * @param outdir the output directory 161 * @return this task object 162 */ 163 public JavacTask outdir(Path outdir) { 164 this.outdir = outdir; 165 return this; 166 } 167 168 /** 169 * Sets the options. 170 * @param options the options 171 * @return this task object 172 */ 173 public JavacTask options(String... options) { 174 this.options = Arrays.asList(options); 175 return this; 176 } 177 178 /** 179 * Sets the classes to be analyzed. 180 * @param classes the classes 181 * @return this task object 182 */ 183 public JavacTask classes(String... classes) { 184 this.classes = Arrays.asList(classes); 185 return this; 186 } 187 188 /** 189 * Sets the files to be compiled or analyzed. 190 * @param files the files 191 * @return this task object 192 */ 193 public JavacTask files(String... files) { 194 this.files = Arrays.asList(files); 195 return this; 196 } 197 198 /** | 159 * Sets the output directory. 160 * @param outdir the output directory 161 * @return this task object 162 */ 163 public JavacTask outdir(Path outdir) { 164 this.outdir = outdir; 165 return this; 166 } 167 168 /** 169 * Sets the options. 170 * @param options the options 171 * @return this task object 172 */ 173 public JavacTask options(String... options) { 174 this.options = Arrays.asList(options); 175 return this; 176 } 177 178 /** 179 * Sets the options. 180 * @param options the options 181 * @return this task object 182 */ 183 public JavacTask options(List<String> options) { 184 this.options = options; 185 return this; 186 } 187 188 /** 189 * Sets the classes to be analyzed. 190 * @param classes the classes 191 * @return this task object 192 */ 193 public JavacTask classes(String... classes) { 194 this.classes = Arrays.asList(classes); 195 return this; 196 } 197 198 /** 199 * Sets the files to be compiled or analyzed. 200 * @param files the files 201 * @return this task object 202 */ 203 public JavacTask files(String... files) { 204 this.files = Arrays.asList(files); 205 return this; 206 } 207 208 /** |