KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > jayasoft > ivy > report > DownloadStatus


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.report;
7
8 /**
9  * @author x.hanin
10  *
11  */

12 public class DownloadStatus {
13     private String JavaDoc _name;
14     private DownloadStatus(String JavaDoc name) {
15         _name = name;
16     }
17     
18     /**
19      * means that download was not required
20      */

21     public static final DownloadStatus NO = new DownloadStatus("no");
22     public static final DownloadStatus SUCCESSFUL = new DownloadStatus("successful");
23     public static final DownloadStatus FAILED = new DownloadStatus("failed");
24     public String JavaDoc toString() {
25         return _name;
26     }
27 }
28
Popular Tags