Class SzCoreProduct

java.lang.Object
com.senzing.sdk.core.SzCoreProduct
All Implemented Interfaces:
SzProduct

public class SzCoreProduct extends Object implements SzProduct
The package-protected implementation of SzProduct that works with the SzCoreEnvironment class.
  • Method Details

    • isDestroyed

      protected boolean isDestroyed()
      Checks if this instance has been destroyed by the associated SzCoreEnvironment.
      Returns:
      true if this instance has been destroyed, otherwise false.
    • getLicense

      public String getLicense() throws SzException
      Returns the currently configured license details.

      Implemented to call the underlying native function.

      Specified by:
      getLicense in interface SzProduct
      Returns:
      The JSON document describing the license details.
      Throws:
      SzException - If a failure occurs.
    • getVersion

      public String getVersion() throws SzException
      Returns the currently installed version details.

      Implemented to call the underlying native function.

      Specified by:
      getVersion in interface SzProduct
      Returns:
      The JSON document of version details.
      Throws:
      SzException - If a failure occurs.