| Constructor and Description |
|---|
DefaultEffector()
DefaultEffector is the constructor for DefaultEffector.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
mergeEffects(java.lang.String expr,
Effect[] effects,
float[] results)
mergeEffects merges all matching results collected by the enforcer into a single decision.
|
StreamEffector |
newStreamEffector(java.lang.String expr) |
public DefaultEffector()
public boolean mergeEffects(java.lang.String expr,
Effect[] effects,
float[] results)
mergeEffects in interface Effectorexpr - the expression of [policy_effect].effects - the effects of all matched rules.results - the matcher results of all matched rules.public StreamEffector newStreamEffector(java.lang.String expr)
newStreamEffector in interface EffectorCopyright © 2017–2021. All rights reserved.