Package jadex.model.impl
Class AbstractModelLoader.BrokenModel
java.lang.Object
jadex.model.impl.AbstractModelLoader.BrokenModel
- All Implemented Interfaces:
ICacheableModel
- Enclosing class:
AbstractModelLoader
Store an exception during loading in cache.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBrokenModel(Exception e, jadex.common.ResourceInfo info) Create a broken model. -
Method Summary
Modifier and TypeMethodDescriptionGet the exception.Get the filename.longGet the last check time of the model.longGet the last modification time of the model.voidsetLastChecked(long time) Set the last check time of the model.
-
Field Details
-
lastcheck
protected long lastcheckTime of last check. -
exception
The exception. -
filename
The filename. -
lastmod
protected long lastmodThe file modification time.
-
-
Constructor Details
-
BrokenModel
Create a broken model.
-
-
Method Details
-
getLastChecked
public long getLastChecked()Get the last check time of the model.- Specified by:
getLastCheckedin interfaceICacheableModel- Returns:
- The last check time of the model.
-
setLastChecked
public void setLastChecked(long time) Set the last check time of the model.- Specified by:
setLastCheckedin interfaceICacheableModel- Parameters:
time- The last check time of the model.
-
getLastModified
public long getLastModified()Get the last modification time of the model.- Specified by:
getLastModifiedin interfaceICacheableModel- Returns:
- The last modification time of the model.
-
getFilename
Get the filename.- Specified by:
getFilenamein interfaceICacheableModel- Returns:
- The filename.
-
getException
Get the exception.- Returns:
- The exception.
-