void (@Nullable Element rootElement) { WebDeploymentCredentialsHolder credentials = getCredentials(); if (rootElement != null) { credentials.load(rootElement); } else { credentials.setWebServerConfigId(""); credentials.setWebServerConfigName(IdeBundle.message("name.invalid")); } }