Package jadex.commons
Class AbstractModelLoader.BrokenModel
- java.lang.Object
-
- jadex.commons.AbstractModelLoader.BrokenModel
-
- All Implemented Interfaces:
ICacheableModel
- Enclosing class:
- AbstractModelLoader
public class AbstractModelLoader.BrokenModel extends java.lang.Object implements ICacheableModel
Store an exception during loading in cache.
-
-
Constructor Summary
Constructors Constructor Description BrokenModel(java.lang.Exception e, ResourceInfo info)
Create a broken model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Exception
getException()
Get the exception.java.lang.String
getFilename()
Get the filename.long
getLastChecked()
Get the last check time of the model.long
getLastModified()
Get the last modification time of the model.void
setLastChecked(long time)
Set the last check time of the model.
-
-
-
Constructor Detail
-
BrokenModel
public BrokenModel(java.lang.Exception e, ResourceInfo info)
Create a broken model.
-
-
Method Detail
-
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
public java.lang.String getFilename()
Get the filename.- Specified by:
getFilename
in interfaceICacheableModel
- Returns:
- The filename.
-
getException
public java.lang.Exception getException()
Get the exception.- Returns:
- The exception.
-
-