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.long
Get the last check time of the model.long
Get the last modification time of the model.void
setLastChecked
(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:
getLastChecked
in 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:
setLastChecked
in interfaceICacheableModel
- Parameters:
time
- The last check time of the model.
-
getLastModified
public long getLastModified()Get the last modification time of the model.- Specified by:
getLastModified
in interfaceICacheableModel
- Returns:
- The last modification time of the model.
-
getFilename
Get the filename.- Specified by:
getFilename
in interfaceICacheableModel
- Returns:
- The filename.
-
getException
Get the exception.- Returns:
- The exception.
-