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 );