public abstract class AbstractConfig extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
AbstractConfig() |
Modifier and Type | Method and Description |
---|---|
void |
checkImmutable()
Verifies if this config is immutable.
|
protected void |
checkStringInput(String s,
boolean allowNull)
Verifies that a string is not null or empty.
|
void |
makeImmutable()
Make this config immutable.
|
public void makeImmutable()
public void checkImmutable()
IllegalStateException
- if this config is immutableprotected void checkStringInput(String s, boolean allowNull)
s
- to verifyallowNull
- whether null strings are validIllegalArgumentException
- if the string is null or emptyCopyright © 2017. All rights reserved.