1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
package org.qedeq.kernel.common; |
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
@version |
24 |
|
@author |
25 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
26 |
|
public interface LoadingStateDescriptions { |
27 |
|
|
28 |
|
|
29 |
|
public static final int STATE_CODE_UNDEFINED = 0; |
30 |
|
|
31 |
|
|
32 |
|
public static final String STATE_STRING_UNDEFINED = "undefined"; |
33 |
|
|
34 |
|
|
35 |
|
public static final int STATE_CODE_LOCATING_WITHIN_WEB = 1; |
36 |
|
|
37 |
|
|
38 |
|
public static final String STATE_STRING_LOCATING_WITHIN_WEB = "locating within web"; |
39 |
|
|
40 |
|
|
41 |
|
public static final int STATE_CODE_LOCATING_WITHIN_WEB_FAILED = 2; |
42 |
|
|
43 |
|
|
44 |
|
public static final String STATE_STRING_LOCATING_WITHIN_WEB_FAILED |
45 |
|
= "locating within web failed"; |
46 |
|
|
47 |
|
|
48 |
|
public static final int STATE_CODE_LOADING_FROM_WEB = 3; |
49 |
|
|
50 |
|
|
51 |
|
public static final String STATE_STRING_LOADING_FROM_WEB = "loading from web"; |
52 |
|
|
53 |
|
|
54 |
|
public static final int STATE_CODE_LOADING_FROM_WEB_FAILED = 4; |
55 |
|
|
56 |
|
|
57 |
|
public static final String STATE_STRING_LOADING_FROM_WEB_FAILED = "loading from web failed"; |
58 |
|
|
59 |
|
|
60 |
|
public static final int STATE_CODE_LOADING_FROM_LOCAL_FILE = 5; |
61 |
|
|
62 |
|
|
63 |
|
public static final String STATE_STRING_LOADING_FROM_LOCAL_FILE = "loading from local file"; |
64 |
|
|
65 |
|
|
66 |
|
public static final int STATE_CODE_LOADING_FROM_LOCAL_FILE_FAILED = 6; |
67 |
|
|
68 |
|
|
69 |
|
public static final String STATE_STRING_LOADING_FROM_LOCAL_FILE_FAILED |
70 |
|
= "loading from web failed"; |
71 |
|
|
72 |
|
|
73 |
|
public static final int STATE_CODE_LOADING_FROM_BUFFER = 7; |
74 |
|
|
75 |
|
|
76 |
|
public static final String STATE_STRING_LOADING_FROM_BUFFER = "loading from local buffer"; |
77 |
|
|
78 |
|
|
79 |
|
public static final int STATE_CODE_LOADING_FROM_BUFFER_FAILED = 8; |
80 |
|
|
81 |
|
|
82 |
|
public static final String STATE_STRING_LOADING_FROM_BUFFER_FAILED |
83 |
|
= "loading from local buffer failed"; |
84 |
|
|
85 |
|
|
86 |
|
public static final int STATE_CODE_LOADING_INTO_MEMORY = 9; |
87 |
|
|
88 |
|
|
89 |
|
public static final String STATE_STRING_LOADING_INTO_MEMORY = "loading into memory"; |
90 |
|
|
91 |
|
|
92 |
|
public static final int STATE_CODE_LOADING_INTO_MEMORY_FAILED = 10; |
93 |
|
|
94 |
|
|
95 |
|
public static final String STATE_STRING_LOADING_INTO_MEMORY_FAILED |
96 |
|
= "loading into memory failed"; |
97 |
|
|
98 |
|
|
99 |
|
public static final int STATE_CODE_LOADED = 11; |
100 |
|
|
101 |
|
|
102 |
|
public static final String STATE_STRING_LOADED = "loaded"; |
103 |
|
|
104 |
|
|
105 |
|
public static final int STATE_CODE_DELETED = -1; |
106 |
|
|
107 |
|
|
108 |
|
public static final String STATE_STRING_DELETED = "deleted"; |
109 |
|
|
110 |
|
} |