[FIXED JENKINS-21880] moved enums to context classes

added auto imports for enums
set default values for boolean fields
fixed bug where isDeployingOnlyWhenUpdates could not be set to false