MPool po = getActivity().getPool(); assert po !=null: getActivity(); boolean ret = pool==null || pool.equals(po.getName());
/** * */ public ProcessThreadInfo createProcessThreadInfo(ProcessThread thread) { ProcessThreadInfo info = new ProcessThreadInfo(thread.getId(), thread.getActivity().getBreakpointId(), thread.getActivity().getPool()!=null ? thread.getActivity().getPool().getName() : null, thread.getActivity().getLane()!=null ? thread.getActivity().getLane().getName() : null, thread.getException()!=null ? thread.getException().toString() : "", thread.isWaiting(), thread.getData()!=null ? thread.getData().toString() : ""); return info; }
if(mparent.getEventHandlers() == null || !mparent.getEventHandlers().contains(mactivity)) mparent.addEventHandler(mactivity); mactivity.setPool(mparent.getPool()); mactivity.setLane(mactivity.getLane());