public abstract class AbstractPolicyOperator extends Object implements PolicyOperator
| Modifier and Type | Field and Description |
|---|---|
protected List<PolicyComponent> |
policyComponents |
| Constructor and Description |
|---|
AbstractPolicyOperator() |
AbstractPolicyOperator(PolicyOperator parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPolicyComponent(PolicyComponent component)
Add a PolicyComponent to the PolicyOperator.
|
void |
addPolicyComponents(List<? extends PolicyComponent> components) |
boolean |
equal(PolicyComponent policyComponent)
Returns true if the argument is equal to self.
|
PolicyComponent |
getFirstPolicyComponent() |
List<PolicyComponent> |
getPolicyComponents()
Returns a List of PolicyComponents which this PolicyOperator contains.
|
boolean |
isEmpty()
Returns true if the PolicyOperator doesn't contain any PolicyComponents.
|
protected static Policy |
normalize(Policy policy,
PolicyRegistry reg,
boolean deep) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetType, serializeprotected List<PolicyComponent> policyComponents
public AbstractPolicyOperator()
public AbstractPolicyOperator(PolicyOperator parent)
public void addPolicyComponent(PolicyComponent component)
PolicyOperatoraddPolicyComponent in interface PolicyOperatorcomponent - Component to add to the operatorpublic void addPolicyComponents(List<? extends PolicyComponent> components)
public List<PolicyComponent> getPolicyComponents()
PolicyOperatorgetPolicyComponents in interface PolicyOperatorpublic PolicyComponent getFirstPolicyComponent()
public boolean isEmpty()
PolicyOperatorisEmpty in interface PolicyOperatorpublic boolean equal(PolicyComponent policyComponent)
PolicyComponentequal in interface PolicyComponentpolicyComponent - the PolicyComponent to check whether self is
logically equal or notprotected static Policy normalize(Policy policy, PolicyRegistry reg, boolean deep)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.