Class ServerTypeClassifier

java.lang.Object
org.odpi.openmetadata.adminservices.classifier.ServerTypeClassifier

public class ServerTypeClassifier extends Object
ServerTypeClassifier is responsible for reviewing the configuration document to determine what type of server is being requested in the configuration document.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerTypeClassifier(String serverName, org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfig configurationDocument)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.adminservices.configuration.registration.ServerTypeClassification
    Check that the config document will result in a valid type of server and return the type.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServerTypeClassifier

      public ServerTypeClassifier(String serverName, org.odpi.openmetadata.adminservices.configuration.properties.OMAGServerConfig configurationDocument)
      Constructor
      Parameters:
      serverName - name of the server
      configurationDocument - document to analyze
  • Method Details

    • getServerType

      public org.odpi.openmetadata.adminservices.configuration.registration.ServerTypeClassification getServerType() throws org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException, org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException
      Check that the config document will result in a valid type of server and return the type.
      Returns:
      server type classification or exception if anything wrong
      Throws:
      org.odpi.openmetadata.adminservices.ffdc.exception.OMAGInvalidParameterException - null config doc
      org.odpi.openmetadata.adminservices.ffdc.exception.OMAGConfigurationErrorException - incompatible config