public class VersionMonitorProvider extends MonitorProvider<org.forgerock.opendj.server.config.server.VersionMonitorProviderCfg>
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_BUILD_ID
The name of the attribute used to provide the build ID (aka the build timestamp).
|
static String |
ATTR_BUILD_NUMBER
The name of the attribute used to provide the weekly build number.
|
static String |
ATTR_COMPACT_VERSION
The name of the attribute used to provide the compact version string.
|
static String |
ATTR_FIX_IDS
The name of the attribute used to provide the list of bugfix IDs.
|
static String |
ATTR_FULL_VERSION
The name of the attribute used to provide the full version string.
|
static String |
ATTR_MAJOR_VERSION
The name of the attribute used to provide the major version number.
|
static String |
ATTR_MINOR_VERSION
The name of the attribute used to provide the minor version number.
|
static String |
ATTR_POINT_VERSION
The name of the attribute used to provide the point version number.
|
static String |
ATTR_PRODUCT_NAME
The name of the attribute used to provide the product name.
|
static String |
ATTR_REVISION
The name of the attribute used to provide the revision in the version control system.
|
static String |
ATTR_SHORT_NAME
The name of the attribute used to provide the short name.
|
static String |
ATTR_VERSION_QUALIFIER
The name of the attribute used to provide the version qualifier string.
|
Constructor and Description |
---|
VersionMonitorProvider() |
Modifier and Type | Method and Description |
---|---|
MonitorData |
getMonitorData()
Retrieves a set of attributes containing monitor data that should
be returned to the client if the corresponding monitor entry is
requested.
|
String |
getMonitorInstanceName()
Retrieves the name of this monitor provider.
|
void |
initializeMonitorProvider(org.forgerock.opendj.server.config.server.VersionMonitorProviderCfg configuration)
Initializes this monitor provider based on the information in the provided configuration entry.
|
finalizeMonitorProvider, getMonitorObjectClass, isConfigurationAcceptable, scheduleUpdate
public static final String ATTR_PRODUCT_NAME
public static final String ATTR_SHORT_NAME
public static final String ATTR_MAJOR_VERSION
public static final String ATTR_MINOR_VERSION
public static final String ATTR_POINT_VERSION
public static final String ATTR_VERSION_QUALIFIER
public static final String ATTR_BUILD_NUMBER
public static final String ATTR_FIX_IDS
public static final String ATTR_REVISION
public static final String ATTR_BUILD_ID
public static final String ATTR_COMPACT_VERSION
public static final String ATTR_FULL_VERSION
public VersionMonitorProvider()
public void initializeMonitorProvider(org.forgerock.opendj.server.config.server.VersionMonitorProviderCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
MonitorProvider
initializeMonitorProvider
in class MonitorProvider<org.forgerock.opendj.server.config.server.VersionMonitorProviderCfg>
configuration
- The configuration to use to initialize this monitor provider.org.forgerock.opendj.config.server.ConfigException
- If an unrecoverable problem arises in the process of performing the initialization.InitializationException
- If a problem occurs during initialization that is not related to the server
configuration.public String getMonitorInstanceName()
MonitorProvider
getMonitorInstanceName
in class MonitorProvider<org.forgerock.opendj.server.config.server.VersionMonitorProviderCfg>
public MonitorData getMonitorData()
MonitorProvider
getMonitorData
in class MonitorProvider<org.forgerock.opendj.server.config.server.VersionMonitorProviderCfg>
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.