KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > event > download > PrepareDownloadEvent


1 /*
2  * This file is subject to the licence found in LICENCE.TXT in the root directory of the project.
3  * Copyright Jayasoft 2005 - All rights reserved
4  *
5  * #SNAPSHOT#
6  */

7 package fr.jayasoft.ivy.event.download;
8
9 import fr.jayasoft.ivy.Artifact;
10 import fr.jayasoft.ivy.Ivy;
11 import fr.jayasoft.ivy.event.IvyEvent;
12
13 public class PrepareDownloadEvent extends IvyEvent {
14     public static final String JavaDoc NAME = "prepare-download";
15     private Artifact[] _artifacts;
16     
17     public PrepareDownloadEvent(Ivy source, Artifact[] artifacts) {
18         super(source, NAME);
19         _artifacts = artifacts;
20     }
21     
22     public Artifact[] getArtifacts() {
23         return _artifacts;
24     }
25 }
26
Popular Tags