Class ConfigurationElement<T extends ConfigurationElement>
java.lang.Object
org.infinispan.commons.configuration.attributes.ConfigurationElement<T>
- Direct Known Subclasses:
AbstractStoreConfiguration
,AsyncStoreConfiguration
,AuthenticationConfiguration
,AuthorizationConfiguration
,BackupConfiguration
,BackupForConfiguration
,CDIConnectionFactoryConfiguration
,ClusteringConfiguration
,Configuration
,ConnectionPoolConfiguration
,ContentTypeConfiguration
,CorsConfiguration
,CorsRuleConfiguration
,CounterManagerConfiguration
,DataConfiguration
,EncodingConfiguration
,EncryptionConfiguration
,ExpirationConfiguration
,GlobalStorageConfiguration
,GroupsConfiguration
,HashConfiguration
,IndexConfiguration
,IndexingConfiguration
,IndexMergeConfiguration
,IndexReaderConfiguration
,IndexShardingConfiguration
,IndexWriterConfiguration
,KeyStoreConfiguration
,L1Configuration
,LockingConfiguration
,MemcachedAuthenticationConfiguration
,MemoryConfiguration
,PartitionHandlingConfiguration
,PersistenceConfiguration
,ProtocolServerConfiguration
,QueriesJdbcConfiguration
,QueryConfiguration
,RecoveryConfiguration
,RemoteContainerConfiguration
,RemoteServerConfiguration
,RespAuthenticationConfiguration
,RestAuthenticationConfiguration
,RocksDBExpirationConfiguration
,SaslConfiguration
,SchemaJdbcConfiguration
,SecurityConfiguration
,SecurityConfiguration
,SitesConfiguration
,SniConfiguration
,SslConfiguration
,SslConfiguration
,StackFileConfiguration
,StateTransferConfiguration
,StatisticsConfiguration
,TakeOfflineConfiguration
,TextAuthenticationConfiguration
,TopologyCacheConfiguration
,TracingConfiguration
,TransactionConfiguration
,TrustStoreConfiguration
,UnsafeConfiguration
,XSiteStateTransferConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AttributeSet
static final ConfigurationElement<?>[]
protected final ConfigurationElement<?>[]
protected final String
protected final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ConfigurationElement
(Enum<?> element, AttributeSet attributes, ConfigurationElement<?>... children) protected
ConfigurationElement
(String element, boolean repeated, AttributeSet attributes, ConfigurationElement<?>... children) protected
ConfigurationElement
(String element, AttributeSet attributes, ConfigurationElement<?>... children) -
Method Summary
Modifier and TypeMethodDescriptionfinal AttributeSet
protected static ConfigurationElement
<?> ConfigurationElement<?>[]
children()
protected static <T> ConfigurationElement<?>[]
children
(Collection<T> children) final String
boolean
Attribute
<?> findAttribute
(String name) int
hashCode()
boolean
protected static <T extends ConfigurationElement>
ConfigurationElement<T> boolean
toString()
void
Updates the mutable part of this instance with the values of the other instancevoid
validateUpdate
(String parentName, T other) Verifies that updating the mutable part of this instance with the values of the other instance is possiblevoid
write
(ConfigurationWriter writer) Writes thisConfigurationElement
to the writer
-
Field Details
-
CHILDLESS
-
element
-
attributes
-
children
-
repeated
protected final boolean repeated
-
-
Constructor Details
-
ConfigurationElement
protected ConfigurationElement(Enum<?> element, AttributeSet attributes, ConfigurationElement<?>... children) -
ConfigurationElement
protected ConfigurationElement(String element, AttributeSet attributes, ConfigurationElement<?>... children) -
ConfigurationElement
protected ConfigurationElement(String element, boolean repeated, AttributeSet attributes, ConfigurationElement<?>... children)
-
-
Method Details
-
elementName
-
attributes
-
children
-
findAttribute
-
list
protected static <T extends ConfigurationElement> ConfigurationElement<T> list(Enum<?> element, List<T> list) -
matches
- Specified by:
matches
in interfaceMatchable<T extends ConfigurationElement>
-
update
-
validateUpdate
Description copied from interface:Updatable
Verifies that updating the mutable part of this instance with the values of the other instance is possible- Specified by:
validateUpdate
in interfaceUpdatable<T extends ConfigurationElement>
- Parameters:
other
-
-
equals
-
hashCode
-
toString
-
isModified
public boolean isModified() -
write
Writes thisConfigurationElement
to the writer- Parameters:
writer
-
-
children
-
child
-