コード例 #1
0
 public static PhaseId get() {
   PhaseId result = null;
   IServiceStore serviceStore = ContextProvider.getServiceStore();
   if (serviceStore != null) {
     result = (PhaseId) serviceStore.getAttribute(ATTR_CURRENT_PHASE);
   }
   return result;
 }
コード例 #2
0
 static void set(PhaseId phaseId) {
   IServiceStore serviceStore = ContextProvider.getServiceStore();
   serviceStore.setAttribute(ATTR_CURRENT_PHASE, phaseId);
 }