Package org.mule.metadata.api.model
Interface FunctionType
-
- All Superinterfaces:
MetadataType
- All Known Implementing Classes:
DefaultFunctionType
public interface FunctionType extends MetadataType
A function with arguments and a return type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<FunctionParameter>getParameters()Returns the list of parameters expected by this functionOptional<MetadataType>getReturnType()The return type of the function.-
Methods inherited from interface org.mule.metadata.api.model.MetadataType
accept, getAnnotation, getAnnotations, getDescription, getMetadataFormat
-
-
-
-
Method Detail
-
getParameters
List<FunctionParameter> getParameters()
Returns the list of parameters expected by this function- Returns:
- The parameters
-
getReturnType
Optional<MetadataType> getReturnType()
The return type of the function. If the function does not return a value it returns empty.- Returns:
- The return type of the function.
-
-