public class GenericFeatureManager extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatures(Map<org.wso2.carbon.device.mgt.common.DeviceTypeIdentifier,List<org.wso2.carbon.device.mgt.common.Feature>> deviceTypeFeatures) |
org.wso2.carbon.device.mgt.common.Feature |
getFeature(org.wso2.carbon.device.mgt.common.DeviceTypeIdentifier deviceType,
String featureName) |
List<org.wso2.carbon.device.mgt.common.Feature> |
getFeatures(org.wso2.carbon.device.mgt.common.DeviceTypeIdentifier deviceType) |
static GenericFeatureManager |
getInstance() |
public static GenericFeatureManager getInstance()
public void addFeatures(Map<org.wso2.carbon.device.mgt.common.DeviceTypeIdentifier,List<org.wso2.carbon.device.mgt.common.Feature>> deviceTypeFeatures)
deviceTypeFeatures - feature list for each device type.public org.wso2.carbon.device.mgt.common.Feature getFeature(org.wso2.carbon.device.mgt.common.DeviceTypeIdentifier deviceType,
String featureName)
deviceType - featureName - public List<org.wso2.carbon.device.mgt.common.Feature> getFeatures(org.wso2.carbon.device.mgt.common.DeviceTypeIdentifier deviceType)
deviceType - returns the features for the device type.Copyright © 2016 WSO2. All rights reserved.