JBIDE-14553 : possibility to change update policy and to enable snapshots

Signed-off-by: Fred Bricon <fbricon@gmail.com>
JBIDE-14553 : use enhanced for loop

Signed-off-by: Fred Bricon <fbricon@gmail.com>