KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > event > resolve > ResolveEvent


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.resolve;
8
9 import fr.jayasoft.ivy.Ivy;
10 import fr.jayasoft.ivy.ModuleDescriptor;
11 import fr.jayasoft.ivy.event.IvyEvent;
12
13 public class ResolveEvent extends IvyEvent {
14     private ModuleDescriptor _md;
15     private String JavaDoc[] _confs;
16
17     protected ResolveEvent(Ivy source, String JavaDoc name, ModuleDescriptor md, String JavaDoc[] confs) {
18         super(source, name);
19         _md = md;
20         _confs = confs;
21         addMDAttributes(md);
22         addConfsAttribute(confs);
23     }
24
25     public ModuleDescriptor getModuleDescriptor() {
26         return _md;
27     }
28 }
29
Popular Tags