Interface RouteRegister
-
- All Superinterfaces:
Iterable<Map.Entry<RouteInfoKey,CompileContext>>
public interface RouteRegister extends Iterable<Map.Entry<RouteInfoKey,CompileContext>>
Реестр URL адресов метаданных
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddRoute(String urlPattern, CompileContext<? extends Compiled,?> context)Регистрация URL адреса метаданнойvoidclearAll()Удаление информации об адресах метаданныхdefault booleansynchronize()Синхронизация с репозиторием-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
addRoute
void addRoute(String urlPattern, CompileContext<? extends Compiled,?> context)
Регистрация URL адреса метаданной- Parameters:
urlPattern- Шаблон URl адреса метаданнойcontext- Контекст сборки метаданной
-
clearAll
void clearAll()
Удаление информации об адресах метаданных
-
synchronize
default boolean synchronize()
Синхронизация с репозиторием- Returns:
- true, если появились новые данные
-
-