Package jadex.commons

Class AbstractModelLoader.BrokenModel

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Exception exception
      The exception.
      protected java.lang.String filename
      The filename.
      protected long lastcheck
      Time of last check.
      protected long lastmod
      The file modification time.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • lastcheck

        protected long lastcheck
        Time of last check.
      • exception

        protected java.lang.Exception exception
        The exception.
      • filename

        protected java.lang.String filename
        The filename.
      • lastmod

        protected long lastmod
        The file modification time.
    • 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 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 java.lang.String getFilename()
        Get the filename.
        Specified by:
        getFilename in interface ICacheableModel
        Returns:
        The filename.
      • getException

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