org.pentaho.platform.plugin.services.versionchecker
Class PentahoVersionCheckDataProvider

java.lang.Object
  extended by org.pentaho.platform.plugin.services.versionchecker.PentahoVersionCheckDataProvider
All Implemented Interfaces:
org.pentaho.versionchecker.IVersionCheckDataProvider

public class PentahoVersionCheckDataProvider
extends Object
implements org.pentaho.versionchecker.IVersionCheckDataProvider


Field Summary
 
Fields inherited from interface org.pentaho.versionchecker.IVersionCheckDataProvider
DEPTH_ALL_MASK, DEPTH_GA_MASK, DEPTH_LINUX_MASK, DEPTH_MAC_MASK, DEPTH_MAJOR_MASK, DEPTH_MILESTONE_MASK, DEPTH_MINOR_MASK, DEPTH_RC_MASK, DEPTH_VERBOSE_MASK, DEPTH_WINDOWS_MASK
 
Constructor Summary
PentahoVersionCheckDataProvider()
           
 
Method Summary
 String getApplicationID()
          Returns the application id (code) for this application (the pentaho platform)
 String getApplicationVersion()
          Returns the application version number found in the manifest
 String getBaseURL()
          Returns the base url for the connection to the pentaho version checking server.
 int getDepth()
          generates the depth flags
 Map getExtraInformation()
          Returns the extra information that can be provided.
 void setVersionRequestFlags(int flags)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

getDepth

public int getDepth()
generates the depth flags

Specified by:
getDepth in interface org.pentaho.versionchecker.IVersionCheckDataProvider