KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > ArtifactOrigin


1 /*
2  * This file is subject to the license found in LICENCE.TXT in the root directory of the project.
3  *
4  * #SNAPSHOT#
5  */

6 package fr.jayasoft.ivy;
7
8 /**
9  * This class contains information about the origin of an artifact.
10  *
11  * @author maartenc
12  */

13 public class ArtifactOrigin {
14     private boolean _isLocal;
15     private String JavaDoc _location;
16     public ArtifactOrigin(boolean isLocal, String JavaDoc location) {
17         _isLocal = isLocal;
18         _location = location;
19     }
20     public boolean isLocal() {
21         return _isLocal;
22     }
23     public String JavaDoc getLocation() {
24         return _location;
25     }
26 }
27
Popular Tags