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.ExceptiongetException()Get the exception.java.lang.StringgetFilename()Get the filename.longgetLastChecked()Get the last check time of the model.longgetLastModified()Get the last modification time of the model.voidsetLastChecked(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:
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
public java.lang.String getFilename()
Get the filename.- Specified by:
getFilenamein interfaceICacheableModel- Returns:
- The filename.
-
getException
public java.lang.Exception getException()
Get the exception.- Returns:
- The exception.
-
-