Class Util


  • public class Util
    extends Object
    • Constructor Detail

      • Util

        public Util()
    • 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)