/** {@inheritDoc} */ @Override public void populateContextForEdit( @NotNull Map<String, Object> context, @NotNull TaskDefinition taskDefinition) { super.populateContextForEdit(context, taskDefinition); taskConfiguratorHelper.populateContextWithConfiguration( context, taskDefinition, FIELDS_TO_COPY); boolean serverConfig = Boolean.valueOf(taskDefinition.getConfiguration().get(CFG_SONAR_SERVER_CONFIGURED)); boolean projectConfig = Boolean.valueOf(taskDefinition.getConfiguration().get(CFG_SONAR_PROJECT_CONFIGURED)); if (!serverConfig) { context.put(CFG_SONAR_SERVER_CONFIGURED, Boolean.FALSE.toString()); } if (!projectConfig) { context.put(CFG_SONAR_PROJECT_CONFIGURED, Boolean.FALSE.toString()); } }