T - final child typepublic abstract class AbstractFactoryWithPropertiesConfig<T extends AbstractFactoryWithPropertiesConfig<T>> extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | enabled | 
| protected String | factoryClassName | 
| protected Properties | properties | 
| Constructor and Description | 
|---|
| AbstractFactoryWithPropertiesConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| String | getFactoryClassName()Returns the factory class name. | 
| Properties | getProperties()Gets all properties. | 
| String | getProperty(String name)Gets a property. | 
| int | hashCode() | 
| boolean | isEnabled()Returns if this configuration is enabled. | 
| protected abstract T | self() | 
| T | setEnabled(boolean enabled)Enables and disables this configuration. | 
| T | setFactoryClassName(String factoryClassName)Sets the factory class name. | 
| T | setProperties(Properties properties)Sets the properties. | 
| T | setProperty(String name,
           String value)Sets a single property. | 
| String | toString() | 
protected boolean enabled
protected String factoryClassName
protected Properties properties
public String getFactoryClassName()
public T setFactoryClassName(@Nonnull String factoryClassName)
public boolean isEnabled()
true if enabled, false otherwisepublic T setEnabled(boolean enabled)
enabled - true to enable, false to disablepublic T setProperty(String name, String value)
name - the name of the property to setvalue - the value of the property to setNullPointerException - if name or value is nullpublic String getProperty(String name)
name - the name of the property to getNullPointerException - if name is nullpublic Properties getProperties()
public T setProperties(@Nonnull Properties properties)
properties - the properties to setIllegalArgumentException - if properties is nullprotected abstract T self()
Copyright © 2021 Hazelcast, Inc.. All rights reserved.