test_class.file: org.eclipse.winery.common/src/test/java/org/eclipse/winery/common/configuration/EnvironmentsTest.java
test_class.identifier: EnvironmentsTest
test_case.body: @Test
      public void testGetGitConfig() {
          GitConfigurationObject gitInfo = Environments.getInstance().getGitConfig();
          assertEquals("id", gitInfo.getClientID());
          assertEquals("secret", gitInfo.getClientSecret());
          assertEquals("default", gitInfo.getUsername());
          assertEquals("default", gitInfo.getPassword());
          assertFalse(gitInfo.isAutocommit());
      }
test_case.class_method_signature: EnvironmentsTest.testGetGitConfig()
test_case.full_signature: @Test public void testGetGitConfig()
test_case.identifier: testGetGitConfig
test_case.invocations: getGitConfig getInstance assertEquals getClientID assertEquals getClientSecret assertEquals getUsername assertEquals getPassword assertFalse isAutocommit
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetGitConfig()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(Environments.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(Environments.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: repositoryConfigurationObject
focal_class.modifier: private static
focal_class.original_string: private static RepositoryConfigurationObject repositoryConfigurationObject;
focal_class.type: RepositoryConfigurationObject
focal_class.var_name: repositoryConfigurationObject
focal_class.declarator: gitConfigurationObject
focal_class.modifier: private static
focal_class.original_string: private static GitConfigurationObject gitConfigurationObject;
focal_class.type: GitConfigurationObject
focal_class.var_name: gitConfigurationObject
focal_class.declarator: uiConfigurationObject
focal_class.modifier: private static
focal_class.original_string: private static UiConfigurationObject uiConfigurationObject;
focal_class.type: UiConfigurationObject
focal_class.var_name: uiConfigurationObject
focal_class.declarator: accountabilityConfigurationObject
focal_class.modifier: private static
focal_class.original_string: private static AccountabilityConfigurationObject accountabilityConfigurationObject;
focal_class.type: AccountabilityConfigurationObject
focal_class.var_name: accountabilityConfigurationObject
focal_class.declarator: instance
focal_class.modifier: private static
focal_class.original_string: private static Environments instance;
focal_class.type: Environments
focal_class.var_name: instance
focal_class.declarator: configurationChangeListeners = new ArrayList<>()
focal_class.modifier: private static
focal_class.original_string: private static ArrayList<ConfigurationChangeListener> configurationChangeListeners = new ArrayList<>();
focal_class.type: ArrayList<ConfigurationChangeListener>
focal_class.var_name: configurationChangeListeners
focal_class.file: org.eclipse.winery.common/src/main/java/org/eclipse/winery/common/configuration/Environments.java
focal_class.identifier: Environments
focal_class.class_method_signature: Environments.Environments()
focal_class.full_signature: private  Environments()
focal_class.identifier: Environments
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Environments()
focal_class.class_method_signature: Environments.getInstance()
focal_class.full_signature: public static Environments getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Environments
focal_class.signature: Environments getInstance()
focal_class.class_method_signature: Environments.updateInstances(YAMLConfiguration updatedConfiguration)
focal_class.full_signature: static void updateInstances(YAMLConfiguration updatedConfiguration)
focal_class.identifier: updateInstances
focal_class.modifiers: static
focal_class.parameters: (YAMLConfiguration updatedConfiguration)
focal_class.return: void
focal_class.signature: void updateInstances(YAMLConfiguration updatedConfiguration)
focal_class.class_method_signature: Environments.initializeConfigurationObjects()
focal_class.full_signature: static void initializeConfigurationObjects()
focal_class.identifier: initializeConfigurationObjects
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initializeConfigurationObjects()
focal_class.class_method_signature: Environments.getUiConfig()
focal_class.full_signature: public UiConfigurationObject getUiConfig()
focal_class.identifier: getUiConfig
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: UiConfigurationObject
focal_class.signature: UiConfigurationObject getUiConfig()
focal_class.class_method_signature: Environments.getGitConfig()
focal_class.full_signature: public GitConfigurationObject getGitConfig()
focal_class.identifier: getGitConfig
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: GitConfigurationObject
focal_class.signature: GitConfigurationObject getGitConfig()
focal_class.class_method_signature: Environments.getRepositoryConfig()
focal_class.full_signature: public RepositoryConfigurationObject getRepositoryConfig()
focal_class.identifier: getRepositoryConfig
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: RepositoryConfigurationObject
focal_class.signature: RepositoryConfigurationObject getRepositoryConfig()
focal_class.class_method_signature: Environments.getAccountabilityConfig()
focal_class.full_signature: public AccountabilityConfigurationObject getAccountabilityConfig()
focal_class.identifier: getAccountabilityConfig
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: AccountabilityConfigurationObject
focal_class.signature: AccountabilityConfigurationObject getAccountabilityConfig()
focal_class.class_method_signature: Environments.getVersion()
focal_class.full_signature: public String getVersion()
focal_class.identifier: getVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getVersion()
focal_class.class_method_signature: Environments.checkForUpdateAndUpdateInstances()
focal_class.full_signature: private void checkForUpdateAndUpdateInstances()
focal_class.identifier: checkForUpdateAndUpdateInstances
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkForUpdateAndUpdateInstances()
focal_class.class_method_signature: Environments.addConfigurationChangeListener(ConfigurationChangeListener newListener)
focal_class.full_signature: public void addConfigurationChangeListener(ConfigurationChangeListener newListener)
focal_class.identifier: addConfigurationChangeListener
focal_class.modifiers: public
focal_class.parameters: (ConfigurationChangeListener newListener)
focal_class.return: void
focal_class.signature: void addConfigurationChangeListener(ConfigurationChangeListener newListener)
focal_class.class_method_signature: Environments.removeConfigurationChangeListener(ConfigurationChangeListener toRemoveListener)
focal_class.full_signature: public void removeConfigurationChangeListener(ConfigurationChangeListener toRemoveListener)
focal_class.identifier: removeConfigurationChangeListener
focal_class.modifiers: public
focal_class.parameters: (ConfigurationChangeListener toRemoveListener)
focal_class.return: void
focal_class.signature: void removeConfigurationChangeListener(ConfigurationChangeListener toRemoveListener)
focal_class.class_method_signature: Environments.afterUpdateNotify()
focal_class.full_signature: private void afterUpdateNotify()
focal_class.identifier: afterUpdateNotify
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void afterUpdateNotify()
focal_class.class_method_signature: Environments.getFilebasedRepositoryConfiguration()
focal_class.full_signature: public FileBasedRepositoryConfiguration getFilebasedRepositoryConfiguration()
focal_class.identifier: getFilebasedRepositoryConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: FileBasedRepositoryConfiguration
focal_class.signature: FileBasedRepositoryConfiguration getFilebasedRepositoryConfiguration()
focal_class.class_method_signature: Environments.getGitBasedRepositoryConfiguration()
focal_class.full_signature: public Optional<GitBasedRepositoryConfiguration> getGitBasedRepositoryConfiguration()
focal_class.identifier: getGitBasedRepositoryConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<GitBasedRepositoryConfiguration>
focal_class.signature: Optional<GitBasedRepositoryConfiguration> getGitBasedRepositoryConfiguration()
focal_class.class_method_signature: Environments.save(final AbstractConfigurationObject configuration)
focal_class.full_signature: public static void save(final AbstractConfigurationObject configuration)
focal_class.identifier: save
focal_class.modifiers: public static
focal_class.parameters: (final AbstractConfigurationObject configuration)
focal_class.return: void
focal_class.signature: void save(final AbstractConfigurationObject configuration)
focal_class.class_method_signature: Environments.getVersionFromProperties()
focal_class.full_signature: private String getVersionFromProperties()
focal_class.identifier: getVersionFromProperties
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getVersionFromProperties()
focal_class.class_method_signature: Environments.resetAccountabilityConfiguration()
focal_class.full_signature: public static void resetAccountabilityConfiguration()
focal_class.identifier: resetAccountabilityConfiguration
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetAccountabilityConfiguration()
focal_method.body: public GitConfigurationObject getGitConfig() {
          checkForUpdateAndUpdateInstances();
          if (gitConfigurationObject == null) {
              gitConfigurationObject = new GitConfigurationObject(Environment.getInstance().getConfiguration());
          }
          return gitConfigurationObject;
      }
focal_method.class_method_signature: Environments.getGitConfig()
focal_method.full_signature: public GitConfigurationObject getGitConfig()
focal_method.identifier: getGitConfig
focal_method.invocations: checkForUpdateAndUpdateInstances getConfiguration getInstance
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: GitConfigurationObject
focal_method.signature: GitConfigurationObject getGitConfig()