public final class StatusFactory extends Object implements IFactoryInfoProvider, com.sap.netweaver.km.monitor.IMonitorInfoProvider
IFactoryInfoProvider.MappingInformation| Modifier and Type | Method and Description |
|---|---|
String |
getFactoryName() |
static StatusFactory |
getInstance() |
long |
getLastReloadTime() |
Properties |
getMapping() |
List |
getMappings(Locale locale) |
Status |
getStatus() |
IConfigurableRendererStatus |
getStatusInstance(ICollection resource,
IDebugContainer container)
Returns a new instance of a
ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. |
IConfigurableRendererStatus |
getStatusInstance(ITypedResourceList list,
IDebugContainer container) |
com.sap.netweaver.km.monitor.data.MonitorData |
retrieveMonitorData()
Method that returns a MonitorData object with object infos to be displayed in KM Monitor
|
public static StatusFactory getInstance()
public IConfigurableRendererStatus getStatusInstance(ICollection resource, IDebugContainer container) throws WcmException
ILayoutController
If no configuration for the set of parameters can be retrieved or the
mapping entry is faulty, the default LayoutController of the factory is
returned. The method uses the CustomizingControllerFactory
to retrieve the mapped name for the given set of parameters.container - resource - the resource that acts as the "root"-resource in the given
IProxynull. The instance
is ready-to-use (no set-methods have to be called afterwards)WcmExceptionpublic IConfigurableRendererStatus getStatusInstance(ITypedResourceList list, IDebugContainer container) throws WcmException
WcmExceptionpublic List getMappings(Locale locale)
getMappings in interface IFactoryInfoProviderlocale - defines the language to use, if the factory offers translated information,
must not be nullIFactoryInfoProvider.MappingInformation,
must not be nullpublic Properties getMapping()
public Status getStatus()
getStatus in interface IFactoryInfoProviderStatus.ERRORpublic String getFactoryName()
getFactoryName in interface IFactoryInfoProvidernullpublic long getLastReloadTime()
getLastReloadTime in interface IFactoryInfoProviderSystem.currentTimeMillis().
An implementing class might also return -1 to indicate, that
no information is available.public com.sap.netweaver.km.monitor.data.MonitorData retrieveMonitorData()
retrieveMonitorData in interface com.sap.netweaver.km.monitor.IMonitorInfoProvider| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice