Package com.cedarpolicy.value
Class Value
java.lang.Object
com.cedarpolicy.value.Value
- Direct Known Subclasses:
CedarList,CedarMap,Decimal,EntityUID,IpAddress,PrimBool,PrimLong,PrimString
A value in the Cedar language model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringConvert the Value instance into a string containing the Cedar source code for the equivalent Cedar value.
-
Constructor Details
-
Value
public Value()
-
-
Method Details
-
toCedarExpr
Convert the Value instance into a string containing the Cedar source code for the equivalent Cedar value. This is useful if you e.g., want to print the value in a programatically generated policy.- Returns:
- Cedar source code for the value.
-