Package org.casbin.jcasbin.effect
Class DefaultStreamEffectorResult
java.lang.Object
org.casbin.jcasbin.effect.DefaultStreamEffectorResult
- All Implemented Interfaces:
StreamEffectorResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
isDone()
void
setDone
(boolean done) void
setEffect
(boolean effect) void
setExplainIndex
(int explainIndex)
-
Field Details
-
done
private boolean done -
effect
private boolean effect -
explainIndex
private int explainIndex
-
-
Constructor Details
-
DefaultStreamEffectorResult
public DefaultStreamEffectorResult() -
DefaultStreamEffectorResult
public DefaultStreamEffectorResult(boolean effect, boolean done, int explainIndex)
-
-
Method Details
-
hasEffect
public boolean hasEffect()- Specified by:
hasEffect
in interfaceStreamEffectorResult
-
isDone
public boolean isDone()- Specified by:
isDone
in interfaceStreamEffectorResult
-
setEffect
public void setEffect(boolean effect) -
setDone
public void setDone(boolean done) -
getExplainIndex
public int getExplainIndex()- Specified by:
getExplainIndex
in interfaceStreamEffectorResult
-
setExplainIndex
public void setExplainIndex(int explainIndex)
-