Package io.deephaven.enterprise.replay
Class ReplayConfigurationImpl
java.lang.Object
io.deephaven.enterprise.replay.ReplayConfigurationImpl
- All Implemented Interfaces:
ReplayConfiguration
A holder for TableReplayConfigurations, that allows the configurations to be accessed by namespace and tablename.
When a table has no configuration for a property, the namespace configuration is used as a fallback. When the namespace has no configuration, then the default configuration is used as a fallback.
-
Constructor Summary
ConstructorsConstructorDescriptionReplayConfigurationImpl
(ComposableTableReplayConfiguration defaultConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addNamespace
(@NotNull String namespace, @NotNull ComposableTableReplayConfiguration configuration) void
addTable
(@NotNull String namespace, @NotNull String tablename, @NotNull ComposableTableReplayConfiguration configuration) configurationFor
(@NotNull String namespace, @NotNull String tableName)
-
Constructor Details
-
ReplayConfigurationImpl
-
-
Method Details
-
addNamespace
public void addNamespace(@NotNull @NotNull String namespace, @NotNull @NotNull ComposableTableReplayConfiguration configuration) -
addTable
public void addTable(@NotNull @NotNull String namespace, @NotNull @NotNull String tablename, @NotNull @NotNull ComposableTableReplayConfiguration configuration) -
configurationFor
public TableReplayConfiguration configurationFor(@NotNull @NotNull String namespace, @NotNull @NotNull String tableName) - Specified by:
configurationFor
in interfaceReplayConfiguration
-