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, OMAGServerConfig configurationDocument)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerTypeClassificationgetServerType()Check that the config document will result in a valid type of server and return the type.
-
-
-
Constructor Detail
-
ServerTypeClassifier
public ServerTypeClassifier(String serverName, OMAGServerConfig configurationDocument)
Constructor- Parameters:
serverName- name of the serverconfigurationDocument- document to analyze
-
-
Method Detail
-
getServerType
public ServerTypeClassification getServerType() throws OMAGInvalidParameterException, 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:
OMAGInvalidParameterException- null config docOMAGConfigurationErrorException- incompatible config
-
-