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 Effector
expr
- 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 Effector
Copyright © 2017–2024. All rights reserved.