1 20 package org.enhydra.barracuda.core.event; 21 22 import java.io.*; 23 import java.math.*; 24 import java.util.*; 25 26 import org.enhydra.barracuda.plankton.data.*; 27 28 37 public interface LongRunning { 38 39 42 public void setRedirectEvent(BaseEvent be); 43 44 47 public BaseEvent getRedirectEvent(); 48 49 52 public void setRefreshRate(int secs); 53 54 58 public int getRefreshRate(); 59 60 63 public void setETA(int secs); 64 65 68 public int getETA(); 69 70 75 public void setElapsed(int secs); 76 77 81 public int getElapsed(); 82 83 88 public void setPercentComplete(int percent); 89 90 95 public int getPercentComplete(); 96 97 103 public StateMap getStateMap(); 104 105 110 public void setAdditionalModels(List imodels); 111 112 115 public List getAdditionalModels(); 116 117 121 public void setTemplateClass(Class cl); 122 123 126 public Class getTemplateClass(); 127 128 131 public void reset(); 132 133 } 134 | Popular Tags |