Package io.quarkus.qute
Annotation Type Locate
-
@Target(TYPE) @Retention(RUNTIME) @Repeatable(Locates.class) public @interface Locate
A customTemplateLocators are not available during the build time, thereforeTemplatelocated by the locator must disable its validation by annotating theTemplateLocatorwith this annotation. IfTemplateLocatorlocatesTemplateand fails to declare the fact this way, an exception is thrown and the build fails. An example:@Locate("/my/custom/location") public class MyCustomLocator implements TemplateLocator { @Override public Optionallocate(String s) { return Optional.empty(); } }
-
-
Element Detail
-
value
String value
- Returns:
- regex pattern matching all the
Template.getId()s located by theTemplateLocator
-
-