Package nz.org.riskscape.engine.bind
Interface IdentifiedParameter
- All Superinterfaces:
Identified
A parameter that has been defined globally in a project. These should be available to any expression that is realized from the project that contains these parameters.
-
Method Summary
Modifier and TypeMethodDescriptionReturn an expression that represents this user defined parameter, or empty if it's not assigned or invalid.default booleanstatic IdentifiedParameterwrap(String id, ParameterTemplate template) Methods inherited from interface nz.org.riskscape.engine.Identified
getId, getIdentifiedClass
-
Method Details
-
getTemplate
ParameterTemplate getTemplate() -
wrap
-
hasValidDefaultValue
default boolean hasValidDefaultValue()- Returns:
- true if a call to getDefaultValue() will succeed
-
getDefaultValue
Optional<Expression> getDefaultValue()Return an expression that represents this user defined parameter, or empty if it's not assigned or invalid.
-