public class ClasspathTemplateResource extends TemplateResourceBase implements ITemplateResource
cache, isProdMode, loader, logger, nextCheckPoint| Modifier and Type | Method and Description |
|---|---|
protected long |
defCheckInterval() |
String |
getKey()
The unique identifier used to fetch this resource by a
resource loader |
String |
getKey2() |
String |
getSuggestedClassName()
Propose a name of generated java class for this resource
|
boolean |
isValid()
Whether this resource is a valid resource
|
protected long |
lastModified() |
String |
reload() |
void |
setKey2(String key) |
protected Long |
userCheckInterval() |
asTemplateContent, codeType, equals, getEngine, getError, getLoader, getTypeOfPath, hashCode, path2CN, refresh, setErrorclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitasTemplateContent, codeType, getError, getLoader, refresh, setErrorpublic String getKey()
ITemplateResourceresource loadergetKey in interface ITemplateResourcepublic void setKey2(String key)
public String getKey2()
public String reload()
reload in class TemplateResourceBaseprotected long lastModified()
lastModified in class TemplateResourceBasepublic boolean isValid()
ITemplateResourceisValid in interface ITemplateResourceprotected long defCheckInterval()
defCheckInterval in class TemplateResourceBaseprotected Long userCheckInterval()
userCheckInterval in class TemplateResourceBasepublic String getSuggestedClassName()
ITemplateResourcegetSuggestedClassName in interface ITemplateResourcegetSuggestedClassName in class TemplateResourceBaseCopyright 2013-2016, The Rythm Engine project