Class BooleanValue
java.lang.Object
software.amazon.smithy.rulesengine.language.evaluation.value.Value
software.amazon.smithy.rulesengine.language.evaluation.value.BooleanValue
- All Implemented Interfaces:
- FromSourceLocation,- ToNode
A boolean value of true or false.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the current value as anArrayValue, throwingRuntimeExceptionwhen the value is the wrong type.getType()booleangetValue()Gets the true or false value of this boolean.inthashCode()toNode()Converts a value to aNode.toString()Methods inherited from class software.amazon.smithy.rulesengine.language.evaluation.value.ValuearrayValue, booleanValue, emptyValue, endpointValue, expectArrayValue, expectEndpointValue, expectIntegerValue, expectRecordValue, expectStringValue, fromNode, getSourceLocation, integerValue, isEmpty, recordValue, stringValue
- 
Method Details- 
getValuepublic boolean getValue()Gets the true or false value of this boolean.- Returns:
- the value true or false.
 
- 
getType
- 
expectBooleanValueDescription copied from class:ValueReturns the current value as anArrayValue, throwingRuntimeExceptionwhen the value is the wrong type.- Overrides:
- expectBooleanValuein class- Value
- Returns:
- returns a boolean value.
 
- 
toNodeDescription copied from interface:ToNodeConverts a value to aNode.- Returns:
- Returns the creates Node.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
 
-