Package org.pentaho.versionchecker

Examples of org.pentaho.versionchecker.IVersionCheckDataProvider


        resultList.add( "<vercheck><error><![CDATA[" + e.getMessage() + "]]></error></vercheck>" ); //$NON-NLS-1$ //$NON-NLS-2$
      }
    };

    // PentahoVersionCheckDataProvider dataProvider = new PentahoVersionCheckDataProvider();
    IVersionCheckDataProvider dataProvider =
        PentahoSystem.get( IVersionCheckDataProvider.class, "IVersionCheckDataProvider", null ); //$NON-NLS-1$
    if ( dataProvider == null ) {
      dataProvider = new PentahoVersionCheckDataProvider();
    }

    if ( versionRequestFlags != -1 ) {
      dataProvider.setVersionRequestFlags( versionRequestFlags );
    }

    VersionChecker vc = new VersionChecker();

    vc.setDataProvider( dataProvider );
View Full Code Here

TOP

Related Classes of org.pentaho.versionchecker.IVersionCheckDataProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.