Class Util
- java.lang.Object
-
- io.quarkiverse.renarde.barcode.runtime.Util
-
public class Util extends Object
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,io.quarkus.qute.Expression>collectExpressions(io.quarkus.qute.SectionHelperFactory.SectionInitContext context, String... names)static voiddeclareBlock(io.quarkus.qute.SectionHelperFactory.BlockInfo block, String... names)static voidrequireParameter(io.quarkus.qute.SectionHelperFactory.SectionInitContext context, String name)static <T> TtypecheckValue(Map<String,Object> values, String name, Class<? extends T> type)This is for runtime checksstatic <T> TtypecheckValue(Map<String,Object> values, String name, Class<? extends T> type, T defaultValue)This is for runtime checks
-
-
-
Method Detail
-
collectExpressions
public static Map<String,io.quarkus.qute.Expression> collectExpressions(io.quarkus.qute.SectionHelperFactory.SectionInitContext context, String... names)
-
declareBlock
public static void declareBlock(io.quarkus.qute.SectionHelperFactory.BlockInfo block, String... names)
-
typecheckValue
public static <T> T typecheckValue(Map<String,Object> values, String name, Class<? extends T> type)
This is for runtime checks
-
typecheckValue
public static <T> T typecheckValue(Map<String,Object> values, String name, Class<? extends T> type, T defaultValue)
This is for runtime checks
-
requireParameter
public static void requireParameter(io.quarkus.qute.SectionHelperFactory.SectionInitContext context, String name)
-
-