Interface Self<S extends Self<S>>
-
- All Known Subinterfaces:
ProtocolServerConfigurationChildBuilder<T,S>
,StoreConfigurationBuilder<T,S>
- All Known Implementing Classes:
AbstractJdbcStoreConfigurationBuilder
,AbstractProtocolServerConfigurationChildBuilder
,AbstractStoreConfigurationBuilder
,AuthenticationConfigurationBuilder
,ClusterLoaderConfigurationBuilder
,CustomStoreConfigurationBuilder
,HotRodServerConfigurationBuilder
,JdbcStringBasedStoreConfigurationBuilder
,JdbcStringBasedStoreConfigurationBuilder.StringTableManipulationConfigurationBuilder
,JpaStoreConfigurationBuilder
,MemcachedServerConfigurationBuilder
,ProtocolServerConfigurationBuilder
,RemoteStoreConfigurationBuilder
,RestServerConfigurationBuilder
,RestStoreConfigurationBuilder
,RocksDBStoreConfigurationBuilder
,SingleFileStoreConfigurationBuilder
,SoftIndexFileStoreConfigurationBuilder
,SslConfigurationBuilder
,TableManipulationConfigurationBuilder
public interface Self<S extends Self<S>>
This interface simplifies the task of writing fluent builders which need to inherit from other builders (abstract or concrete). It overcomes Java's limitation of not being able to return an instance of a class narrowed to the class itself. It should be used by allBuilder
classes which require inheritance.- Since:
- 5.2
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S
self()
-
-
-
Method Detail
-
self
S self()
-
-