1 4 package com.tc.object.context; 5 6 import com.tc.async.api.EventContext; 7 8 public class PauseContext implements EventContext { 9 10 public static final PauseContext PAUSE = new PauseContext(true); 11 public static final PauseContext UNPAUSE = new PauseContext(false); 12 13 private final boolean isPause; 14 15 private PauseContext(boolean isPause) { 16 this.isPause = isPause; 17 } 18 19 public boolean getIsPause() { 20 return isPause; 21 } 22 23 } 24 | Popular Tags |