KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > config > backup > status > StatusConstants


1 /*
2  * StatusConstants.java
3  *
4  * Created on December 13, 2000, 6:21 AM
5  */

6
7 package com.sun.enterprise.config.backup.status;
8
9 /**
10  *
11  * @author sridatta
12  */

13 public interface StatusConstants {
14     
15     public static final String JavaDoc TYPE_UNKNOWN="type_unknown";
16     /**
17      * Offline is when the backuprestore functionality
18      * is used from commandline without the server running
19      */

20     public static final String JavaDoc TYPE_OFFLINE="offline";
21     
22     /**
23      * Online is when the functionlity is accessed through
24      * admin server
25      */

26     public static final String JavaDoc TYPE_ONLINE="online";
27     
28     /**
29      * occurs when the status is unknow due
30      * to fatal condition or when the status
31      * object is created without setting success/failure
32      */

33     public static final String JavaDoc STATUS_UNKNOWN="status_unknown";
34     
35     public static final String JavaDoc STATUS_SUCCESS="success";
36     
37     public static final String JavaDoc STATUS_FAILURE="failure";
38     
39     public static final String JavaDoc OPERATION_TYPE_UNKNOWN="operation_type_unknown";
40     
41     /* bnevins 1/15/04 -- these aren't used anywhere...
42     public static final String OPERATION_TYPE_BACKUP="operation_type_backup";
43     public static final String OPERATION_TYPE_RESTORE="operation_type_restore";
44     public static final String OPERATION_TYPE_UNDO_RESTORE="operation_type_undo_restore";
45     */

46     
47     public static final String JavaDoc STORAGE_TYPE_DIRECTORY="directory";
48     public static final String JavaDoc STORAGE_TYPE_ZIP="zip";
49 }
50
Popular Tags