public interface IPluginMonitor extends IFCPlugin
check()
, which lets you return a custom error message in case a web service etc. is currently not available.Modifier and Type | Field and Description |
---|---|
static String |
CHECK_ERROR
The constant for a non-successful check.
|
static String |
CHECK_SUCCESS
The constant for a successful check.
|
CONFIG_FILENAME
ATTR_NAME, COL_NAME
ATTR_DISPLAY_NAME
Modifier and Type | Method and Description |
---|---|
String |
check()
This method is invoked each time the monitor is refreshed.
|
default String |
getObjectName()
Override this method to define a custom monitor name.
|
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall
static final String CHECK_SUCCESS
static final String CHECK_ERROR
default String getObjectName()
check()
is displayed.String check() throws Exception
CHECK_SUCCESS
. If the check was not successful, you have got the following options:
Exception
.CHECK_ERROR
. Make sure you do not return the value of CHECK_SUCCESS
,
as that is interpreted as a successful check.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.