public final class TableConfigurationBuilder extends AbstractFeatureAwareBuilder<TableConfigurationBuilder>
TableConfiguration
s.Modifier and Type | Method and Description |
---|---|
TableConfiguration |
build()
Creates a new
TableConfiguration based on the current builder state. |
TableConfigurationBuilder |
dataMapEntry(String key,
Object value)
Add a data map entry.
|
protected Set<Feature> |
getEnabledFeatures()
Return the list of enabled features.
|
Set<Feature> |
getSupportedFeatures()
Returns the list of supported features.
|
static TableConfigurationBuilder |
usingConfiguration(TableConfiguration tableConfiguration)
Returns a new
TableConfigurationBuilder initialized using an existing configuration. |
static TableConfigurationBuilder |
usingDefaults()
Returns a new
TableConfigurationBuilder initialized using default values. |
disableFeature, enableFeature, getBuilder, inheritFeatures, isFeatureEnabled, isFeatureSupported
public static TableConfigurationBuilder usingDefaults()
TableConfigurationBuilder
initialized using default values.public static TableConfigurationBuilder usingConfiguration(TableConfiguration tableConfiguration)
TableConfigurationBuilder
initialized using an existing configuration.tableConfiguration
- a TableConfiguration
to usepublic Set<Feature> getSupportedFeatures()
AbstractFeatureAwareBuilder
getSupportedFeatures
in class AbstractFeatureAwareBuilder<TableConfigurationBuilder>
protected Set<Feature> getEnabledFeatures()
AbstractFeatureAwareBuilder
getEnabledFeatures
in class AbstractFeatureAwareBuilder<TableConfigurationBuilder>
public TableConfigurationBuilder dataMapEntry(String key, Object value)
key
- the data map keyvalue
- the data map valuepublic TableConfiguration build()
TableConfiguration
based on the current builder state.TableConfiguration
Copyright © 2018. All rights reserved.