|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.common.sysinfo.services.DefaultSystemInfoService
| Field Summary |
| Fields inherited from interface com.sdm.quasar.client.core.common.sysinfo.services.SystemInfoService |
INFO_CLASS_APPLICATION, INFO_CLASS_DIALOG_HIERARCHY |
| Constructor Summary | |
DefaultSystemInfoService()
Creates a new DefaultSystemInfoService. |
|
| Method Summary | |
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Builds the system information tree upon local information of the implementor. |
SystemInfoOptions |
createSystemInfoOptions(int detailLevel)
Creates a new SystemInfoOptions with the given detail level.
|
SystemInfoNode |
createSystemInfoRootNode(java.lang.String type)
Creates a new SystemInfoNode without a parent node.
|
java.lang.String[] |
getAllInfoClasses()
Returns all classes for system information. |
SystemInfoProvider[] |
getAllSystemInfoProviders(java.lang.String infoClass)
Returns an array containing all registered SystemInfoProvider
for the given information class. |
void |
registerSystemInfoProvider(java.lang.String infoClass,
SystemInfoProvider systemInfoProvider)
Registers the given SystemInfoProvider for the given
information class. |
void |
unregisterSystemInfoProvider(SystemInfoProvider systemInfoProvider)
Unregisters the previous registered SystemInfoProvider. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultSystemInfoService()
DefaultSystemInfoService.
| Method Detail |
public SystemInfoOptions createSystemInfoOptions(int detailLevel)
SystemInfoServiceSystemInfoOptions with the given detail level.
This method should only be used when starting collection of system
information to create the initial SystemInfoOptions for a
collection run.
createSystemInfoOptions in interface SystemInfoServicedetailLevel - the detail level to collect information of
SystemInfoOptionsSystemInfoService.createSystemInfoOptions(int)public SystemInfoNode createSystemInfoRootNode(java.lang.String type)
SystemInfoServiceSystemInfoNode without a parent node.
This method should only be used when starting collection of system
information to create a root node.
createSystemInfoRootNode in interface SystemInfoServicetype - the type of the created root node
SystemInfoNode createdSystemInfoService.createSystemInfoRootNode(java.lang.String)
public void registerSystemInfoProvider(java.lang.String infoClass,
SystemInfoProvider systemInfoProvider)
SystemInfoRegistrySystemInfoProvider for the given
information class.
registerSystemInfoProvider in interface SystemInfoRegistryinfoClass - the info class to register under (not null)SystemInfoRegistry.registerSystemInfoProvider(java.lang.String, com.sdm.quasar.client.core.common.sysinfo.SystemInfoProvider)public void unregisterSystemInfoProvider(SystemInfoProvider systemInfoProvider)
SystemInfoRegistrySystemInfoProvider.
unregisterSystemInfoProvider in interface SystemInfoRegistrysystemInfoProvider - the SystemInfoProvider to unregister (not null)SystemInfoRegistry.unregisterSystemInfoProvider(com.sdm.quasar.client.core.common.sysinfo.SystemInfoProvider)public java.lang.String[] getAllInfoClasses()
SystemInfoRegistry
getAllInfoClasses in interface SystemInfoRegistrySystemInfoRegistry.getAllInfoClasses()public SystemInfoProvider[] getAllSystemInfoProviders(java.lang.String infoClass)
SystemInfoRegistrySystemInfoProvider
for the given information class.
getAllSystemInfoProviders in interface SystemInfoRegistryinfoClass - the information class to get all
SystemInfoProvider for (not null)SystemInfoRegistry.getAllSystemInfoProviders(java.lang.String)
public void collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
SystemInfoProviderSystemInfoOptions).
The information can be appended to the tree by adding new child
SystemInformationNodes to the root node given using the
SystemInfoNode.createChild(String) method and by setting information
attributes the these nodes or the given root node.
collectSystemInfo in interface SystemInfoProviderroot - the SystemInfoNode to add information to (guaranteed to be not null)options - contains additional options, that might influence the amount of
information added to the tree (guaranteed to be not null)SystemInfoProvider.collectSystemInfo(com.sdm.quasar.client.core.common.sysinfo.SystemInfoNode, com.sdm.quasar.client.core.common.sysinfo.SystemInfoOptions)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||