logger.debug(methodName, duccId, messages.fetchLabel("pending additions")+rmResourceState.getPendingAdditions().size());
}
if(rmResourceState.getPendingRemovals() != null) {
logger.debug(methodName, duccId, messages.fetchLabel("pending removals")+rmResourceState.getPendingRemovals().size());
}
IDuccWork duccWork = workMap.findDuccWork(duccId);
if(duccWork== null) {
logger.debug(methodName, duccId, messages.fetch("not found"));
}
else {
logger.debug(methodName, duccId, messages.fetchLabel("type")+duccWork.getDuccType());
switch(duccWork.getDuccType()) {
case Job:
logger.debug(methodName, duccId, messages.fetch("processing job..."));
DuccWorkJob duccWorkJob = (DuccWorkJob) duccWork;
processPurger(duccWorkJob,rmResourceState.getResources());
changes += processMapResourcesAdd(duccWorkJob,rmResourceState.getPendingAdditions());