1 64 65 package com.jcorporate.expresso.services.asyncprocess; 66 67 74 75 public interface AsyncProcessResult { 76 77 80 public static final int STATUS_PENDING = 0; 81 82 85 public static final int STATUS_RUNNING = 1; 86 87 90 public static final int STATUS_COMPLETE = 2; 91 92 96 public static final int STATUS_FAULT = 3; 97 98 103 public int getStatusCode(); 104 105 106 112 public Throwable getException(); 113 114 115 120 public Object getResult(); 121 122 127 public Object getStatus(); 128 129 130 135 public AsyncProcess getOriginalProcess(); 136 137 } 138 139 | Popular Tags |