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
Fields inherited from class com.hazelcast.config.AbstractBaseFactoryWithPropertiesConfig
factoryClassName, properties
-
Constructor Summary
-
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:
true
if enabled,false
otherwise
-
setEnabled
Enables and disables this configuration.- Parameters:
enabled
-true
to enable,false
to disable
-
toString
- Overrides:
toString
in classAbstractBaseFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
-
equals
- Overrides:
equals
in classAbstractBaseFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractBaseFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>>
-