public class TrackerHierarchyDisplayScheme
extends java.lang.Object
| Constructor and Description |
|---|
TrackerHierarchyDisplayScheme(DeviceManager dm,
ControlUnitTracker tracker)
Constructs the utility class with given
DeviceManager and ControlUnitTracker instances. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getComponentTypes(java.lang.String deviceType,
java.lang.String superType,
boolean directExtensions)
Returns the component types to display under given device type an super component type.
|
java.lang.String[] |
getDeviceTypes(java.lang.String superType,
boolean directExtensions)
Returns device types to display under the given
superType. |
public TrackerHierarchyDisplayScheme(DeviceManager dm, ControlUnitTracker tracker)
DeviceManager and ControlUnitTracker instances.
The application must have references to the Device Manager and Control Unit Tracker services.dm - reference to the DeviceManager service.tracker - reference to the ControlUnitTracker service.public java.lang.String[] getDeviceTypes(java.lang.String superType,
boolean directExtensions)
throws ManagementException
superType.
Value of null should be passed for the root level.superType - control unit type to expand, or null if on the root level.directExtensions - boolean flag determining if the application requires direct extensions only (value of true)
or all extensions (value of false) of the given device type in the control unit types hierarchy.ManagementException - if system error occurs.public java.lang.String[] getComponentTypes(java.lang.String deviceType,
java.lang.String superType,
boolean directExtensions)
throws ManagementException
deviceType - the last expanded device type.superType - component control unit type to expand, or null if expanding the root components of the given device type.directExtensions - boolean flag determining if the application requires direct extensions only (value of true)
or all extensions (value of false) of the given component type in the control unit types hierarchy.ManagementException - if system error occurs.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.