1 package org.enhydra.shark.api.common; 2 3 import java.io.Serializable ; 4 5 10 public final class DeadlineInfo implements Serializable { 11 12 public String procId = null; 13 14 15 public String actId = null; 16 17 18 public boolean isExecuted = false; 19 20 21 public long timeLimit = -1; 22 23 24 public String exceptionName = null; 25 26 27 public boolean isSynchronous = false; 28 29 33 public DeadlineInfo() { 34 } 35 36 39 public DeadlineInfo( 40 String _procId, 41 String _actId, 42 boolean _isExecuted, 43 long _timeLimit, 44 String _exceptionName, 45 boolean _isSynchronous) { 46 47 procId = _procId; 48 actId = _actId; 49 isExecuted = _isExecuted; 50 timeLimit = _timeLimit; 51 exceptionName = _exceptionName; 52 isSynchronous = _isSynchronous; 53 } 54 55 public String toString() { 56 return "[procId=" + procId + ", actId=" + procId + ", isExecuted=" + isExecuted 57 + ", excName=" + exceptionName + ",timeLimit=" + new java.util.Date (timeLimit) 58 + ",isSynchronous=" + isSynchronous + "]"; 59 } 60 61 } | Popular Tags |