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 Details

    • getSettings

      String getSettings()
      Gets the Senzing settings with which to initialize the SzCoreEnvironment.
      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 the SzCoreEnvironment.
      Returns:
      The Senzing instance name with which to initialize the SzCoreEnvironment.
      Since:
      4.1.0
    • isVerboseLogging

      boolean isVerboseLogging()
      Checks if configuring the SzCoreEnvironment with verbose logging.
      Returns:
      true if verbose logging will be enabled, otherwise false.
      Since:
      4.1.0
    • getConfigId

      Long getConfigId()
      Gets the explicit configuration ID (if any) with which to initialize the SzCoreEnvironment. This returns null 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, or null if none and the default configuration ID from the Senzing repository should be used.
      Since:
      4.1.0