@FunctionalInterface public interface TemplateAvailabilityProvider
Modifier and Type | Method and Description |
---|---|
boolean |
isTemplateAvailable(String view,
Environment environment,
ClassLoader classLoader,
ResourceLoader resourceLoader)
Returns
true if a template is available for the given view . |
boolean isTemplateAvailable(String view, Environment environment, ClassLoader classLoader, ResourceLoader resourceLoader)
true
if a template is available for the given view
.view
- the view nameenvironment
- the environmentclassLoader
- the class loaderresourceLoader
- the resource loaderCopyright © 2018 Pivotal Software, Inc.. All rights reserved.