|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.policy.evaluator.FeatureFilterImpl
public class FeatureFilterImpl
This class is responsible for evaluating the policy (Configurations sets) and returning the effective features set.
| Constructor Summary | |
|---|---|
FeatureFilterImpl()
|
|
| Method Summary | |
|---|---|
List<org.wso2.carbon.policy.mgt.common.Feature> |
evaluate(List<org.wso2.carbon.policy.mgt.common.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.policy.mgt.common.Feature> |
evaluateFeatures(List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<FeatureRules> featureRulesList)
This method is responsible for supplying tasks to other methods to evaluate given features. |
List<org.wso2.carbon.policy.mgt.common.Feature> |
extractFeatures(List<org.wso2.carbon.policy.mgt.common.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.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
This method picks the all features of the give type. |
void |
getDenyOverridesFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> 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.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
This method picks the first features of the give type. |
void |
getHighestApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
This method picks the feature with the highest value of given type. |
void |
getLastApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
This method picks the last features of the give type. |
void |
getLowestApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
This method picks the feature with the lowest value of given type. |
void |
getPermitOverridesFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
This method picks up permitted features, if there is no permitted features it will add to the list, the final denied feature. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureFilterImpl()
| Method Detail |
|---|
public List<org.wso2.carbon.policy.mgt.common.Feature> evaluate(List<org.wso2.carbon.policy.mgt.common.Policy> policyList,
List<FeatureRules> featureRulesList)
evaluate in interface FeatureFilterpolicyList - featureRulesList -
public List<org.wso2.carbon.policy.mgt.common.Feature> extractFeatures(List<org.wso2.carbon.policy.mgt.common.Policy> policyList)
extractFeatures in interface FeatureFilterpolicyList -
public List<org.wso2.carbon.policy.mgt.common.Feature> evaluateFeatures(List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<FeatureRules> featureRulesList)
evaluateFeatures in interface FeatureFilterfeatureList - featureRulesList -
public void getDenyOverridesFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
getDenyOverridesFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList -
public void getPermitOverridesFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
getPermitOverridesFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList -
public void getFirstApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
getFirstApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList -
public void getLastApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
getLastApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList -
public void getAllApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
getAllApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList -
public void getHighestApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
getHighestApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList -
public void getLowestApplicableFeatures(String featureName,
List<org.wso2.carbon.policy.mgt.common.Feature> featureList,
List<org.wso2.carbon.policy.mgt.common.Feature> effectiveFeatureList)
getLowestApplicableFeatures in interface FeatureFilterfeatureName - featureList - effectiveFeatureList -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||