Package nz.org.riskscape.engine.function
Interface IdentifiedFunction
- All Superinterfaces:
AutoCloseable,Identified,RiskscapeFunction,UntypedFunction
- All Known Implementing Classes:
IdentifiedFunction.Wrapping,JavaFunction,MetadataBasedFunction,RealizableFunction.MetadataIdentifiedRealizableFunction
A RiskscapeFunction that is identified by its Identified.getId().
Being identified by the ID is required for the function to be called from other contexts.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic class -
Field Summary
Fields inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction
BUILT_IN, LOG -
Method Summary
Methods inherited from interface nz.org.riskscape.engine.Identified
getId, getIdentifiedClassMethods inherited from interface nz.org.riskscape.engine.function.RiskscapeFunction
builtin, close, getAggregationFunction, getArguments, getArgumentTypes, getOverloaded, getRealizable, getReturnType, getTypesFromArguments, identified, identified, isA, setProblemReporter, validateMethods inherited from interface nz.org.riskscape.engine.function.UntypedFunction
call
-
Method Details
-
getDescription
String getDescription()- Returns:
- a human readable description of the function
-
getSourceURI
- Returns:
- a uri indicating the source of function. file/uri etc.
-
getSource
Deprecated. -
getCategory
IdentifiedFunction.Category getCategory()- Returns:
- the category that this function belongs to
-
infoOutput
Get information about this function.
-
toEntity
Returns a map-view of this fragility function
-
isBuiltin
default boolean isBuiltin()- Returns:
- true if this is a built-in function provided by RiskScape
-