Class FunctionDefinition
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.fn.FunctionDefinition
- Direct Known Subclasses:
AwsIsVirtualHostableS3Bucket
,AwsPartition
,IsValidHostLabel
,ParseArn
,ParseUrl
,Substring
,UriEncode
An abstract definition of a rule-engine function.
-
Constructor Details
-
FunctionDefinition
public FunctionDefinition()
-
-
Method Details
-
getId
The ID of this function.- Returns:
- The ID string
-
getArguments
The arguments to this function.- Returns:
- The function arguments
-
getReturnType
The return type of this function definition.- Returns:
- The function return type
-
evaluate
Evaluate the arguments to a given function to compute a result.- Returns:
- The resulting value
-