int increasePercent = 0;
Iterator propertyEditor = getPropertiesIterator();
while (propertyEditor.hasNext()) {
Property property = (Property) propertyEditor.next();
if (property instanceof ModifyMaximumWorkers) {
ModifyMaximumWorkers modifyMaximumWorkers = (ModifyMaximumWorkers) property;
increasePercent = increasePercent + modifyMaximumWorkers.getModifier();
}
}
return increasePercent;
}