Class AbstractModelLoader.BrokenModel

java.lang.Object
jadex.model.impl.AbstractModelLoader.BrokenModel
All Implemented Interfaces:
ICacheableModel
Enclosing class:
AbstractModelLoader

public class AbstractModelLoader.BrokenModel extends Object implements ICacheableModel
Store an exception during loading in cache.
  • Field Details

    • lastcheck

      protected long lastcheck
      Time of last check.
    • exception

      protected Exception exception
      The exception.
    • filename

      protected String filename
      The filename.
    • lastmod

      protected long lastmod
      The file modification time.
  • Constructor Details

    • BrokenModel

      public BrokenModel(Exception e, jadex.common.ResourceInfo info)
      Create a broken model.
  • Method Details

    • getLastChecked

      public long getLastChecked()
      Get the last check time of the model.
      Specified by:
      getLastChecked in interface ICacheableModel
      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 interface ICacheableModel
      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 interface ICacheableModel
      Returns:
      The last modification time of the model.
    • getFilename

      public String getFilename()
      Get the filename.
      Specified by:
      getFilename in interface ICacheableModel
      Returns:
      The filename.
    • getException

      public Exception getException()
      Get the exception.
      Returns:
      The exception.