Class WatchdogActionAdmin
java.lang.Object
org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
org.odpi.openmetadata.engineservices.watchdogaction.admin.WatchdogActionAdmin
WatchdogActionAdmin is called during server start up to set up the Watchdog Action OMES.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
auditLog, invalidParameterHandler, localServerName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(String localServerName, AuditLog auditLog, String localServerUserId, int maxPageSize, EngineServiceDefinition engineServiceDefinition) Initialize engine service.voidshutdown()Shutdown the engine service.Methods inherited from class org.odpi.openmetadata.governanceservers.enginehostservices.admin.EngineServiceAdmin
validateEngineDefinition
-
Constructor Details
-
WatchdogActionAdmin
public WatchdogActionAdmin()
-
-
Method Details
-
initialize
public void initialize(String localServerName, AuditLog auditLog, String localServerUserId, int maxPageSize, EngineServiceDefinition engineServiceDefinition) throws OMAGConfigurationErrorException Initialize engine service.- Specified by:
initializein classEngineServiceAdmin- Parameters:
localServerName- name of this serverauditLog- link to the repository responsible for servicing the REST callslocalServerUserId- user id for this server to use if sending REST requests and processing inbound messagesmaxPageSize- maximum number of records that can be requested on the pageSize parameterengineServiceDefinition- details of the options and the engines to run- Throws:
OMAGConfigurationErrorException- an issue in the configuration prevented initialization
-
shutdown
public void shutdown()Shutdown the engine service.- Specified by:
shutdownin classEngineServiceAdmin
-