Revision 34974 branches/v2_0_0_prep/extensions/org.gvsig.installer/org.gvsig.installer.lib/org.gvsig.installer.lib.api/src/main/java/org/gvsig/installer/lib/api/PackageInfo.java
PackageInfo.java | ||
---|---|---|
29 | 29 |
|
30 | 30 |
import java.io.File; |
31 | 31 |
import java.net.URL; |
32 |
import java.util.List; |
|
32 | 33 |
|
33 | 34 |
import org.gvsig.installer.lib.api.InstallerManager.ARCH; |
34 | 35 |
import org.gvsig.installer.lib.api.InstallerManager.JVM; |
... | ... | |
229 | 230 |
public void setModelVersion(String modelVersion); |
230 | 231 |
|
231 | 232 |
/** |
232 |
* Add an external file that have to be copied in the
|
|
233 |
* installation process.
|
|
233 |
* Return the auxiliar list of files of this package.
|
|
234 |
* This files will be copied by the default ant script.
|
|
234 | 235 |
* |
235 |
* @param file |
|
236 |
* The file to copy. |
|
237 |
* @deprecated |
|
238 |
* This method will be deleted on next releases because |
|
239 |
* all the files that a plugin needs to work should be |
|
240 |
* contained in its directory. |
|
241 |
*/ |
|
242 |
@Deprecated |
|
243 |
public void addFileToCopy(File file); |
|
244 |
|
|
245 |
/** |
|
246 |
* Gets one external file that is copied on |
|
247 |
* the installation process. |
|
248 |
* |
|
249 |
* @param index |
|
250 |
* The position of the external file. |
|
251 | 236 |
* @return |
252 |
* The file that have to be copied. |
|
253 |
* @deprecated |
|
254 |
* This method will be deleted on next releases because |
|
255 |
* all the files that a plugin needs to work should be |
|
256 |
* contained in its directory. |
|
257 | 237 |
*/ |
258 |
@Deprecated |
|
259 |
public File getFileToCopyAt(int index); |
|
238 |
public List<File> getAuxFiles(); |
|
260 | 239 |
|
261 | 240 |
/** |
262 |
* Gest the number of external files that have to be
|
|
263 |
* copied in the installation process.
|
|
241 |
* Gets the ant script that has to be executed in the
|
|
242 |
* installation process. |
|
264 | 243 |
* |
265 | 244 |
* @return |
266 |
* The number of files. |
|
267 |
* @deprecated |
|
268 |
* This method will be deleted on next releases because |
|
269 |
* all the files that a plugin needs to work should be |
|
270 |
* contained in its directory. |
|
245 |
* the script. |
|
271 | 246 |
*/ |
272 |
@Deprecated |
|
273 |
public int getFileToCopySize(); |
|
247 |
public String getAntScript(); |
|
274 | 248 |
|
275 | 249 |
/** |
276 |
* Removes one of the files that have to be copied in the |
|
277 |
* installation process. |
|
278 |
* |
|
279 |
* @param index |
|
280 |
* the position of the file. |
|
281 |
* @deprecated |
|
282 |
* This method will be deleted on next releases because |
|
283 |
* all the files that a package needs to work should be |
|
284 |
* contained in its directory. |
|
285 |
*/ |
|
286 |
@Deprecated |
|
287 |
public void removeFileToCopy(int index); |
|
288 |
|
|
289 |
/** |
|
290 | 250 |
* Sets the ant script that can be executed in the |
291 | 251 |
* installation process. |
292 | 252 |
* |
293 | 253 |
* @param antScript |
294 | 254 |
* The ant script to copy. |
295 |
* @deprecated |
|
296 |
* This method will be deleted on next releases because |
|
297 |
* all the files that a package needs to work should be |
|
298 |
* contained in its directory. |
|
299 | 255 |
*/ |
300 |
@Deprecated |
|
301 |
public void setAnScript(String antScript); |
|
256 |
public void setAntScript(String antScript); |
|
302 | 257 |
|
303 |
/** |
|
304 |
* Gets the ant script that has to be executed in the |
|
305 |
* installation process. |
|
306 |
* |
|
307 |
* @return |
|
308 |
* the script. |
|
309 |
* @deprecated |
|
310 |
* This method will be deleted on next releases because |
|
311 |
* all the files that a package needs to work should be |
|
312 |
* contained in its directory. |
|
313 |
*/ |
|
314 |
@Deprecated |
|
315 |
public String getAntScript(); |
|
316 |
|
|
317 | 258 |
public File downloadFile() |
318 | 259 |
throws InstallPackageServiceException; |
319 | 260 |
|
Also available in: Unified diff