1 5 package com.tc.objectserver.context; 6 7 import com.tc.async.api.EventContext; 8 9 import java.util.List ; 10 11 public class RecallObjectsContext implements EventContext { 12 13 private final boolean all; 14 private final List recalledObjects; 15 16 public RecallObjectsContext(List recalledObjects, boolean all) { 17 this.recalledObjects = recalledObjects; 18 this.all = all; 19 } 20 21 public boolean recallAll() { 22 return all; 23 } 24 25 public List getRecallList() { 26 return recalledObjects; 27 } 28 29 } 30 | Popular Tags |