Package com.hazelcast.config
Class AbstractFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
java.lang.Object
com.hazelcast.config.AbstractBaseFactoryWithPropertiesConfig<T>
com.hazelcast.config.AbstractFactoryWithPropertiesConfig<T>
- Type Parameters:
T- final child type
- Direct Known Subclasses:
AuditlogConfig,SSLConfig
public abstract class AbstractFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
extends AbstractBaseFactoryWithPropertiesConfig<T>
Configuration base for config types with a factory class and its properties.
-
Field Summary
FieldsFields inherited from class com.hazelcast.config.AbstractBaseFactoryWithPropertiesConfig
factoryClassName, properties -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.hazelcast.config.AbstractBaseFactoryWithPropertiesConfig
getFactoryClassName, getProperties, getProperty, self, setFactoryClassName, setProperties, setProperty
-
Field Details
-
enabled
protected boolean enabled
-
-
Constructor Details
-
AbstractFactoryWithPropertiesConfig
public AbstractFactoryWithPropertiesConfig()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns if this configuration is enabled.- Returns:
trueif enabled,falseotherwise
-
setEnabled
Enables and disables this configuration.- Parameters:
enabled-trueto enable,falseto disable
-
toString
- Overrides:
toStringin classAbstractBaseFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
-
equals
- Overrides:
equalsin classAbstractBaseFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractBaseFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
-