Interface Update

All Known Implementing Classes:
UpdateImpl

public interface Update
  • Field Details

  • Method Details

    • getName

      String getName()
    • getDescription

      String[] getDescription()
    • getRelativeURLBase

      String getRelativeURLBase()
    • setRelativeURLBase

      void setRelativeURLBase(String base)
    • setDescriptionURL

      void setDescriptionURL(String url)
      Parameters:
      url - URL to load instead of showing the description text)
      Since:
      3.0.1.7
    • getDesciptionURL

      String getDesciptionURL()
      Returns:
      null if no description url
      Since:
      3.0.1.7
    • getOldVersion

      String getOldVersion()
    • getNewVersion

      String getNewVersion()
    • getDownloaders

      ResourceDownloader[] getDownloaders()
    • isMandatory

      boolean isMandatory()
    • setRestartRequired

      void setRestartRequired(int restart_required)
    • getRestartRequired

      int getRestartRequired()
    • setUserObject

      void setUserObject(Object obj)
    • getUserObject

      Object getUserObject()
    • complete

      void complete(boolean success)
      mark the update as complete and inform any listeners
    • cancel

      void cancel()
      cancel this update
    • isCancelled

      boolean isCancelled()
    • isComplete

      boolean isComplete()
    • wasSuccessful

      boolean wasSuccessful()
    • getCheckInstance

      UpdateCheckInstance getCheckInstance()
    • getDecision

      Object getDecision(int decision_type, String decision_name, String decision_description, Object decision_data)
    • verifyData

      InputStream verifyData(InputStream is, boolean force) throws UpdateException
      Throws:
      UpdateException
    • addListener

      void addListener(UpdateListener l)
    • removeListener

      void removeListener(UpdateListener l)