Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 19 package org.openharmonise.vfs.status; 20 21 import java.util.*; 22 23 29 public interface StatusData { 30 31 public static int LEVEL_CONFIRM = 0; 32 public static int LEVEL_WARNING = 1; 33 public static int LEVEL_ERROR = 2; 34 35 public static int STATUS_OK = 0; 36 public static int STATUS_INVALID_PERMISSIONS = 1; 37 public static int STATUS_RESOURCE_LOCKED = 2; 38 public static int STATUS_INVALID_REQUEST = 3; 39 public static int STATUS_COMMUNICATIONS_FAILURE = 4; 40 public static int STATUS_RESOURCE_NOT_FOUND = 5; 41 public static int STATUS_INVALID_RESOURCE_STATE = 6; 42 public static int STATUS_TIMEOUT = 7; 43 public static int STATUS_SERVER_ERROR = 8; 44 public static int STATUS_REQUEST_CONDITIONS_NOT_MET = 9; 45 public static int STATUS_RESOURCE_EXISTS = 10; 46 47 public void addStatusData(StatusData status); 48 49 public int getStatusLevel(); 50 51 public int getStatusCode(); 52 53 public boolean isOK(); 54 55 public void setMethodName(String sMethodName); 56 57 public String getMethodName(); 58 59 public int getWorstLevel(); 60 61 public void setStatusLevel(int nLevel); 62 63 public List getStatusData(int nLevel); 64 65 } 66
| Popular Tags
|