test_class.declarator: PERSISTENCE_ID_PREFIX = "myPidPrefix:"
test_class.modifier: private static final
test_class.original_string: private static final String PERSISTENCE_ID_PREFIX = "myPidPrefix:";
test_class.type: String
test_class.var_name: PERSISTENCE_ID_PREFIX
test_class.declarator: SUPPORTS_NAMESPACES = true
test_class.modifier: private static final
test_class.original_string: private static final boolean SUPPORTS_NAMESPACES = true;
test_class.type: boolean
test_class.var_name: SUPPORTS_NAMESPACES
test_class.declarator: METADATA_COLLECTION_NAME = "myMetadataCollection"
test_class.modifier: private static final
test_class.original_string: private static final String METADATA_COLLECTION_NAME = "myMetadataCollection";
test_class.type: String
test_class.var_name: METADATA_COLLECTION_NAME
test_class.declarator: JOURNAL_COLLECTION_NAME = "myJournalCollection"
test_class.modifier: private static final
test_class.original_string: private static final String JOURNAL_COLLECTION_NAME = "myJournalCollection";
test_class.type: String
test_class.var_name: JOURNAL_COLLECTION_NAME
test_class.declarator: SNAPSHOT_COLLECTION_NAME = "mySnapshotCollection"
test_class.modifier: private static final
test_class.original_string: private static final String SNAPSHOT_COLLECTION_NAME = "mySnapshotCollection";
test_class.type: String
test_class.var_name: SNAPSHOT_COLLECTION_NAME
test_class.declarator: JOURNAL_PLUGIN_ID = "my-journal-plugin-id"
test_class.modifier: private static final
test_class.original_string: private static final String JOURNAL_PLUGIN_ID = "my-journal-plugin-id";
test_class.type: String
test_class.var_name: JOURNAL_PLUGIN_ID
test_class.declarator: SNAPSHOT_PLUGIN_ID = "my-snapshot-plugin-id"
test_class.modifier: private static final
test_class.original_string: private static final String SNAPSHOT_PLUGIN_ID = "my-snapshot-plugin-id";
test_class.type: String
test_class.var_name: SNAPSHOT_PLUGIN_ID
test_class.file: services/utils/persistence/src/test/java/org/eclipse/ditto/services/utils/persistence/mongo/ops/eventsource/MongoEventSourceSettingsTest.java
test_class.identifier: MongoEventSourceSettingsTest
test_case.body: @Test
      public void fromConfigFailsWithEmptyConfig() {
          assertThatExceptionOfType(ConfigException.Missing.class).isThrownBy(() ->
                  MongoEventSourceSettings.fromConfig(ConfigFactory.empty(), PERSISTENCE_ID_PREFIX, SUPPORTS_NAMESPACES,
                          JOURNAL_PLUGIN_ID, SNAPSHOT_PLUGIN_ID));
      }
test_case.class_method_signature: MongoEventSourceSettingsTest.fromConfigFailsWithEmptyConfig()
test_case.full_signature: @Test public void fromConfigFailsWithEmptyConfig()
test_case.identifier: fromConfigFailsWithEmptyConfig
test_case.invocations: isThrownBy assertThatExceptionOfType fromConfig empty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void fromConfigFailsWithEmptyConfig()
focal_class.declarator: persistenceIdPrefix
focal_class.modifier: private final
focal_class.original_string: private final String persistenceIdPrefix;
focal_class.type: String
focal_class.var_name: persistenceIdPrefix
focal_class.declarator: metadataCollectionName
focal_class.modifier: private final
focal_class.original_string: private final String metadataCollectionName;
focal_class.type: String
focal_class.var_name: metadataCollectionName
focal_class.declarator: journalCollectionName
focal_class.modifier: private final
focal_class.original_string: private final String journalCollectionName;
focal_class.type: String
focal_class.var_name: journalCollectionName
focal_class.declarator: snapshotCollectionName
focal_class.modifier: private final
focal_class.original_string: private final String snapshotCollectionName;
focal_class.type: String
focal_class.var_name: snapshotCollectionName
focal_class.declarator: supportsNamespaces
focal_class.modifier: private final
focal_class.original_string: private final boolean supportsNamespaces;
focal_class.type: boolean
focal_class.var_name: supportsNamespaces
focal_class.file: services/utils/persistence/src/main/java/org/eclipse/ditto/services/utils/persistence/mongo/ops/eventsource/MongoEventSourceSettings.java
focal_class.identifier: MongoEventSourceSettings
focal_class.class_method_signature: MongoEventSourceSettings.MongoEventSourceSettings(final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.full_signature: private  MongoEventSourceSettings(final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.identifier: MongoEventSourceSettings
focal_class.modifiers: private
focal_class.parameters: (final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.signature:  MongoEventSourceSettings(final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.class_method_signature: MongoEventSourceSettings.of(final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.full_signature: public static MongoEventSourceSettings of(final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.return: MongoEventSourceSettings
focal_class.signature: MongoEventSourceSettings of(final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String metadataCollectionName,
              final String journalCollectionName,
              final String snapshotCollectionName)
focal_class.class_method_signature: MongoEventSourceSettings.fromConfig(final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)
focal_class.full_signature: public static MongoEventSourceSettings fromConfig(final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)
focal_class.identifier: fromConfig
focal_class.modifiers: public static
focal_class.parameters: (final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)
focal_class.return: MongoEventSourceSettings
focal_class.signature: MongoEventSourceSettings fromConfig(final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)
focal_class.class_method_signature: MongoEventSourceSettings.getPersistenceIdPrefix()
focal_class.full_signature: public String getPersistenceIdPrefix()
focal_class.identifier: getPersistenceIdPrefix
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPersistenceIdPrefix()
focal_class.class_method_signature: MongoEventSourceSettings.getMetadataCollectionName()
focal_class.full_signature: public String getMetadataCollectionName()
focal_class.identifier: getMetadataCollectionName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getMetadataCollectionName()
focal_class.class_method_signature: MongoEventSourceSettings.getJournalCollectionName()
focal_class.full_signature: public String getJournalCollectionName()
focal_class.identifier: getJournalCollectionName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJournalCollectionName()
focal_class.class_method_signature: MongoEventSourceSettings.getSnapshotCollectionName()
focal_class.full_signature: public String getSnapshotCollectionName()
focal_class.identifier: getSnapshotCollectionName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSnapshotCollectionName()
focal_class.class_method_signature: MongoEventSourceSettings.isSupportsNamespaces()
focal_class.full_signature: public boolean isSupportsNamespaces()
focal_class.identifier: isSupportsNamespaces
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSupportsNamespaces()
focal_class.class_method_signature: MongoEventSourceSettings.getCollectionName(final Config config, final String root, final String collectionType)
focal_class.full_signature: private static String getCollectionName(final Config config, final String root, final String collectionType)
focal_class.identifier: getCollectionName
focal_class.modifiers: private static
focal_class.parameters: (final Config config, final String root, final String collectionType)
focal_class.return: String
focal_class.signature: String getCollectionName(final Config config, final String root, final String collectionType)
focal_class.class_method_signature: MongoEventSourceSettings.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: MongoEventSourceSettings.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: MongoEventSourceSettings.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static MongoEventSourceSettings fromConfig(final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId) {
  
          checkNotNull(config, "config");
          checkNotNull(journalPluginId, "journal plugin ID");
          checkNotNull(snapshotPluginId, "snapshot plugin ID");
  
          final String metadataCollectionName = getCollectionName(config, journalPluginId, "metadata");
          final String journalCollectionName = getCollectionName(config, journalPluginId, "journal");
          final String snapshotCollectionName = getCollectionName(config, snapshotPluginId, "snaps");
  
          return new MongoEventSourceSettings(persistenceIdPrefix, supportsNamespaces, metadataCollectionName,
                  journalCollectionName, snapshotCollectionName);
      }
focal_method.class_method_signature: MongoEventSourceSettings.fromConfig(final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)
focal_method.full_signature: public static MongoEventSourceSettings fromConfig(final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)
focal_method.identifier: fromConfig
focal_method.invocations: checkNotNull checkNotNull checkNotNull getCollectionName getCollectionName getCollectionName
focal_method.modifiers: public static
focal_method.parameters: (final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)
focal_method.return: MongoEventSourceSettings
focal_method.signature: MongoEventSourceSettings fromConfig(final Config config,
              final String persistenceIdPrefix,
              final boolean supportsNamespaces,
              final String journalPluginId,
              final String snapshotPluginId)