Package org.casbin.jcasbin.effect
Class DefaultStreamEffector
- java.lang.Object
-
- org.casbin.jcasbin.effect.DefaultStreamEffector
-
- All Implemented Interfaces:
StreamEffector
public class DefaultStreamEffector extends java.lang.Object implements StreamEffector
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
done
private boolean
effect
private int
explainIndex
private java.lang.String
expr
-
Constructor Summary
Constructors Constructor Description DefaultStreamEffector(java.lang.String expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamEffectorResult
current()
boolean
push(Effect eft, int currentIndex, int policySize)
-
-
-
Method Detail
-
current
public StreamEffectorResult current()
- Specified by:
current
in interfaceStreamEffector
-
push
public boolean push(Effect eft, int currentIndex, int policySize)
- Specified by:
push
in interfaceStreamEffector
-
-