Interface ToCondition
-
- All Known Implementing Classes:
AwsPartition
,BooleanEquals
,BooleanLiteral
,Condition
,Expression
,GetAttr
,IntegerLiteral
,IsSet
,IsValidHostLabel
,IsVirtualHostableS3Bucket
,LibraryFunction
,Literal
,Not
,Parameter
,ParseArn
,ParseUrl
,RecordLiteral
,Reference
,StringEquals
,StringLiteral
,Substring
,SyntaxElement
,TupleLiteral
,UriEncode
public interface ToCondition
Supplies functionality to be coercible intoCondition
s for use in composing rule-sets in code.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Condition
toCondition()
Convert this into a condition.default Condition
toCondition(java.lang.String result)
Converts this function into a condition which stores the output in the named result.Condition.Builder
toConditionBuilder()
Convert this into a condition builder for compositional use.
-
-
-
Method Detail
-
toConditionBuilder
Condition.Builder toConditionBuilder()
Convert this into a condition builder for compositional use.- Returns:
- the condition builder.
-
toCondition
default Condition toCondition()
Convert this into a condition.- Returns:
- the condition.
-
toCondition
default Condition toCondition(java.lang.String result)
Converts this function into a condition which stores the output in the named result.- Parameters:
result
- the name of the result parameter.- Returns:
- the function as a condition.
-
-