Class PentahoVersionCheckDataProvider
- java.lang.Object
-
- org.pentaho.platform.util.versionchecker.PentahoVersionCheckDataProvider
-
- All Implemented Interfaces:
org.pentaho.versionchecker.IVersionCheckDataProvider
public class PentahoVersionCheckDataProvider extends Object implements org.pentaho.versionchecker.IVersionCheckDataProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected static VersionInfo
versionInfo
The version information for the pentaho platform is in the core jar - that is the fallback position.protected int
versionRequestFlags
-
Constructor Summary
Constructors Constructor Description PentahoVersionCheckDataProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
computeOSMask()
String
getApplicationID()
Returns the application id (code) for this application (the pentaho platform)String
getApplicationVersion()
Returns the application version number found in the manifestString
getBaseURL()
Returns the base url for the connection to the pentaho version checking server.int
getDepth()
generates the depth flagsMap
getExtraInformation()
Returns the extra information that can be provided.void
setVersionRequestFlags(int flags)
-
-
-
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
-
-
Method Detail
-
setVersionRequestFlags
public void setVersionRequestFlags(int flags)
- Specified by:
setVersionRequestFlags
in interfaceorg.pentaho.versionchecker.IVersionCheckDataProvider
-
getApplicationID
public String getApplicationID()
Returns the application id (code) for this application (the pentaho platform)- Specified by:
getApplicationID
in interfaceorg.pentaho.versionchecker.IVersionCheckDataProvider
-
getApplicationVersion
public String getApplicationVersion()
Returns the application version number found in the manifest- Specified by:
getApplicationVersion
in interfaceorg.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 interfaceorg.pentaho.versionchecker.IVersionCheckDataProvider
-
getExtraInformation
public Map getExtraInformation()
Returns the extra information that can be provided.- Specified by:
getExtraInformation
in interfaceorg.pentaho.versionchecker.IVersionCheckDataProvider
-
computeOSMask
protected int computeOSMask()
-
getDepth
public int getDepth()
generates the depth flags- Specified by:
getDepth
in interfaceorg.pentaho.versionchecker.IVersionCheckDataProvider
-
-