source: trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSStatus.java@ 3643

Last change on this file since 3643 was 3643, checked in by kjdon, 21 years ago

the beginnings of status and error handling stuff

  • Property svn:keywords set to Author Date Id Revision
File size: 653 bytes
Line 
1package org.greenstone.gsdl3.util;
2
3public class GSStatus {
4
5 // responses for initial request
6 public static final int SUCCESS = 1; // request succeeded
7 public static final int ACCEPTED = 2; // request accepted but not completed
8 public static final int ERROR = 3; // error and process stopped
9
10 // responses for status requests
11 public static final int CONTINUING = 10; // request still continuing
12 public static final int COMPLETED = 11; // request finished
13 public static final int HALTED = 12; // process stopped
14
15 // other
16 public static final int INFO = 20; // just an info message that doesnt mean anything
17}
Note: See TracBrowser for help on using the repository browser.