Class GovernanceEngineHandlerFactory
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.registration.GovernanceEngineHandlerFactory
- Direct Known Subclasses:
GovernanceActionEngineHandlerFactory,RepositoryGovernanceHandlerFactory,SurveyActionEngineHandlerFactory,WatchdogActionEngineHandlerFactory
GovernanceEngineHandlerFactory defines the create method for the governance engine handler that each engine
service must implement.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GovernanceEngineHandlercreateGovernanceEngineHandler(EngineConfig engineConfig, String localServerName, String localServerUserId, String localServerPassword, String partnerServerName, String partnerURLRoot, GovernanceConfigurationClient configurationClient, GovernanceContextClient serverClient, AuditLog auditLog, int maxPageSize) Create a client-side object for calling a survey action engine.
-
Constructor Details
-
GovernanceEngineHandlerFactory
public GovernanceEngineHandlerFactory()
-
-
Method Details
-
createGovernanceEngineHandler
public abstract GovernanceEngineHandler createGovernanceEngineHandler(EngineConfig engineConfig, String localServerName, String localServerUserId, String localServerPassword, String partnerServerName, String partnerURLRoot, GovernanceConfigurationClient configurationClient, GovernanceContextClient serverClient, AuditLog auditLog, int maxPageSize) throws InvalidParameterException Create a client-side object for calling a survey action engine.- Parameters:
engineConfig- information about the governance engine.localServerName- the name of the engine host server where the survey action engine is runninglocalServerUserId- user id for the engine host server to uselocalServerPassword- optional password for the engine host server to usepartnerServerName- name of partner serverpartnerURLRoot- partner platformconfigurationClient- client to retrieve the configurationserverClient- client used by the engine host services to control the execution of engine action requestsauditLog- logging destinationmaxPageSize- maximum number of results that can be returned in a single request- Returns:
- governance engine handler
- Throws:
InvalidParameterException- unable to connect to the clients
-