Class ServerTypeClassifier
java.lang.Object
org.odpi.openmetadata.adminservices.classifier.ServerTypeClassifier
ServerTypeClassifier is responsible for reviewing the configuration document to determine what type of
server is being requested in the configuration document.
-
Constructor Summary
ConstructorDescriptionServerTypeClassifier
(String serverName, OMAGServerConfig configurationDocument) Constructor -
Method Summary
Modifier and TypeMethodDescriptionCheck that the config document will result in a valid type of server and return the type.
-
Constructor Details
-
ServerTypeClassifier
Constructor- Parameters:
serverName
- name of the serverconfigurationDocument
- document to analyze
-
-
Method Details
-
getServerType
public ServerTypeClassification getServerType() throws OMAGInvalidParameterException, OMAGConfigurationErrorExceptionCheck 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:
OMAGInvalidParameterException
- null config docOMAGConfigurationErrorException
- incompatible config
-