public class FeatureFilterImpl extends Object implements FeatureFilter
| Constructor and Description |
|---|
FeatureFilterImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> |
evaluate(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList,
List<FeatureRules> featureRulesList)
This method returns the effective feature list when policy list and feature aggregation rules are supplied.
|
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> |
evaluateFeatures(List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<FeatureRules> featureRulesList)
This method is responsible for supplying tasks to other methods to evaluate given features.
|
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> |
extractFeatures(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList)
This method extract the features from the given policy list in the order they are provided in the list.
|
void |
getAllApplicableFeatures(String featureName,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
This method picks the all features of the give type.
|
void |
getDenyOverridesFeatures(String featureName,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
This method picks up denied features, if there is no denied features it will add to the list, the final permitted feature.
|
void |
getFirstApplicableFeatures(String featureName,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
This method picks the first features of the give type.
|
void |
getHighestApplicableFeatures(String featureName,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
This method picks the feature with the highest value of given type.
|
void |
getLastApplicableFeatures(String featureName,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
This method picks the last features of the give type.
|
void |
getLowestApplicableFeatures(String featureName,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
This method picks the feature with the lowest value of given type.
|
void |
getPermitOverridesFeatures(String featureName,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList,
List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
This method picks up permitted features, if there is no permitted features it will add to the list, the final denied feature.
|
public List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> evaluate(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList, List<FeatureRules> featureRulesList)
evaluate in interface FeatureFilterpolicyList - featureRulesList - public List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> extractFeatures(List<org.wso2.carbon.device.mgt.common.policy.mgt.Policy> policyList)
extractFeatures in interface FeatureFilterpolicyList - public List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> evaluateFeatures(List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<FeatureRules> featureRulesList)
evaluateFeatures in interface FeatureFilterfeatureList - featureRulesList - public void getDenyOverridesFeatures(String featureName, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
getDenyOverridesFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList - public void getPermitOverridesFeatures(String featureName, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
getPermitOverridesFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList - public void getFirstApplicableFeatures(String featureName, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
getFirstApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList - public void getLastApplicableFeatures(String featureName, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
getLastApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList - public void getAllApplicableFeatures(String featureName, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
getAllApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList - public void getHighestApplicableFeatures(String featureName, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
getHighestApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList - public void getLowestApplicableFeatures(String featureName, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> featureList, List<org.wso2.carbon.device.mgt.common.policy.mgt.ProfileFeature> effectiveFeatureList)
getLowestApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList - Copyright © 2017 WSO2. All rights reserved.