Class PentahoVersionCheckDataProvider

  • All Implemented Interfaces:
    org.pentaho.versionchecker.IVersionCheckDataProvider

    public class PentahoVersionCheckDataProvider
    extends Object
    implements org.pentaho.versionchecker.IVersionCheckDataProvider
    • Field Detail

      • versionInfo

        protected static final VersionInfo versionInfo
        The version information for the pentaho platform is in the core jar - that is the fallback position. The VersionHelper implementation however should be in a .jar file with correct manifest.
      • versionRequestFlags

        protected int versionRequestFlags
    • Constructor Detail

      • PentahoVersionCheckDataProvider

        public PentahoVersionCheckDataProvider()
    • Method Detail

      • setVersionRequestFlags

        public void setVersionRequestFlags​(int flags)
        Specified by:
        setVersionRequestFlags in interface org.pentaho.versionchecker.IVersionCheckDataProvider
      • getApplicationID

        public String getApplicationID()
        Returns the application id (code) for this application (the pentaho platform)
        Specified by:
        getApplicationID in interface org.pentaho.versionchecker.IVersionCheckDataProvider
      • getApplicationVersion

        public String getApplicationVersion()
        Returns the application version number found in the manifest
        Specified by:
        getApplicationVersion in interface org.pentaho.versionchecker.IVersionCheckDataProvider
      • getBaseURL

        public String getBaseURL()
        Returns the base url for the connection to the pentaho version checking server. Currently, there is no reason to use anything other than the default.
        Specified by:
        getBaseURL in interface org.pentaho.versionchecker.IVersionCheckDataProvider
      • getExtraInformation

        public Map getExtraInformation()
        Returns the extra information that can be provided.
        Specified by:
        getExtraInformation in interface org.pentaho.versionchecker.IVersionCheckDataProvider
      • computeOSMask

        protected int computeOSMask()
      • getDepth

        public int getDepth()
        generates the depth flags
        Specified by:
        getDepth in interface org.pentaho.versionchecker.IVersionCheckDataProvider