public class SitesConfigurationBuilder extends Object implements Builder<SitesConfiguration>, ConfigurationBuilderInfo
Modifier and Type | Field and Description |
---|---|
protected ConfigurationBuilder |
builder |
Constructor and Description |
---|
SitesConfigurationBuilder(ConfigurationBuilder builder) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuilderInfo
jmxStatistics
protected final ConfigurationBuilder builder
public SitesConfigurationBuilder(ConfigurationBuilder builder)
public BackupConfigurationBuilder addBackup()
public ConfigurationBuilderInfo getNewBuilderInfo(String name)
getNewBuilderInfo
in interface ConfigurationBuilderInfo
ConfigurationBuilderInfo.getBuilderInfo(String, String)
but will return a new instance of the builder on every call.
This is to create unbounded sub-elements in a builder.public Collection<ConfigurationBuilderInfo> getChildrenInfo()
getChildrenInfo
in interface ConfigurationBuilderInfo
ConfigurationBuilderInfo
for the sub-elements of the builder.public AttributeSet attributes()
attributes
in interface BaseConfigurationInfo
AttributeSet
declared by the configuration.public ElementDefinition getElementDefinition()
getElementDefinition
in interface BaseConfigurationInfo
ElementDefinition
of the configuration.public List<BackupConfigurationBuilder> backups()
public SitesConfigurationBuilder disableBackups(boolean disable)
public SitesConfigurationBuilder addInUseBackupSite(String site)
public BackupForBuilder backupFor()
public void validate()
Builder
validate
in interface Builder<SitesConfiguration>
public void validate(GlobalConfiguration globalConfig)
validate
in interface ConfigurationChildBuilder
public SitesConfiguration create()
Builder
create
in interface Builder<SitesConfiguration>
public SitesConfigurationBuilder read(SitesConfiguration template)
Builder
read
in interface Builder<SitesConfiguration>
template
- the configuration from which to "clone" this config if needed.public ConfigurationChildBuilder template(boolean template)
template
in interface ConfigurationChildBuilder
public ConfigurationChildBuilder simpleCache(boolean simpleCache)
simpleCache
in interface ConfigurationChildBuilder
public boolean simpleCache()
simpleCache
in interface ConfigurationChildBuilder
public ClusteringConfigurationBuilder clustering()
clustering
in interface ConfigurationChildBuilder
@Deprecated public CustomInterceptorsConfigurationBuilder customInterceptors()
customInterceptors
in interface ConfigurationChildBuilder
public EncodingConfigurationBuilder encoding()
encoding
in interface ConfigurationChildBuilder
public ExpirationConfigurationBuilder expiration()
expiration
in interface ConfigurationChildBuilder
public IndexingConfigurationBuilder indexing()
indexing
in interface ConfigurationChildBuilder
public InvocationBatchingConfigurationBuilder invocationBatching()
invocationBatching
in interface ConfigurationChildBuilder
public StatisticsConfigurationBuilder statistics()
statistics
in interface ConfigurationChildBuilder
public PersistenceConfigurationBuilder persistence()
persistence
in interface ConfigurationChildBuilder
public LockingConfigurationBuilder locking()
locking
in interface ConfigurationChildBuilder
public SecurityConfigurationBuilder security()
security
in interface ConfigurationChildBuilder
public TransactionConfigurationBuilder transaction()
transaction
in interface ConfigurationChildBuilder
public UnsafeConfigurationBuilder unsafe()
unsafe
in interface ConfigurationChildBuilder
public SitesConfigurationBuilder sites()
sites
in interface ConfigurationChildBuilder
public MemoryConfigurationBuilder memory()
memory
in interface ConfigurationChildBuilder
protected ConfigurationBuilder getBuilder()
public Configuration build()
build
in interface ConfigurationChildBuilder
Copyright © 2021 JBoss by Red Hat. All rights reserved.