Package com.cedarpolicy.value
Class PrimBool
java.lang.Object
com.cedarpolicy.value.Value
com.cedarpolicy.value.PrimBool
Represents a primitive Cedar boolean value.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrimBool
public PrimBool(boolean b) Build PrimBool.- Parameters:
b- Boolean.
-
-
Method Details
-
getValue
public boolean getValue()Get the PrimBool as a boolean. -
equals
Equals. -
hashCode
public int hashCode()Hash. -
toString
toString. -
toCedarExpr
To Cedar expr that can be used in a Cedar policy.- Specified by:
toCedarExprin classValue- Returns:
- Cedar source code for the value.
-