Package com.senzing.sdk.core
Interface SzCoreEnvironment.Initializer
- All Known Implementing Classes:
SzCoreEnvironment.AbstractBuilder
,SzCoreEnvironment.Builder
- Enclosing class:
SzCoreEnvironment
public static interface SzCoreEnvironment.Initializer
Provides an interface for initializing an instance of
SzCoreEnvironment
.
This interface is not needed to use SzCoreEnvironment
.
It is only needed if you are extending SzCoreEnvironment
.
This is provided for derived classes of SzCoreEnvironment
to initialize their super class and is typically implemented by
extending SzCoreEnvironment.AbstractBuilder
in creating a derived
builder implementation.
- Since:
- 4.1.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the explicit configuration ID (if any) with which to initialize theSzCoreEnvironment
.Gets the Senzing instance name with which to initialize theSzCoreEnvironment
.Gets the Senzing settings with which to initialize theSzCoreEnvironment
.boolean
Checks if configuring theSzCoreEnvironment
with verbose logging.
-
Method Details
-
getSettings
String getSettings()Gets the Senzing settings with which to initialize theSzCoreEnvironment
.- Returns:
- The Senzing settings with which to configure
the
SzCoreEnvironment
. - Since:
- 4.1.0
-
getInstanceName
String getInstanceName()Gets the Senzing instance name with which to initialize theSzCoreEnvironment
.- Returns:
- The Senzing instance name with which to initialize
the
SzCoreEnvironment
. - Since:
- 4.1.0
-
isVerboseLogging
boolean isVerboseLogging()Checks if configuring theSzCoreEnvironment
with verbose logging.- Returns:
true
if verbose logging will be enabled, otherwisefalse
.- Since:
- 4.1.0
-
getConfigId
Long getConfigId()Gets the explicit configuration ID (if any) with which to initialize theSzCoreEnvironment
. This returnsnull
if no explicit configuration ID has been provided and the default configuration ID from the Senzing repository should be used.- Returns:
- The explicit configuration ID with which to initialize the
SzCoreEnvironment
, ornull
if none and the default configuration ID from the Senzing repository should be used. - Since:
- 4.1.0
-