for ( int i = 0; i < RETRY_COUNT; i++ ) {
try {
if ( !StringUtils.isEmpty( actionId ) ) {
IPluginManager pluginManager = PentahoSystem.get( IPluginManager.class );
clazz = pluginManager.loadClass( actionId );
return clazz;
} else if ( !StringUtils.isEmpty( actionClass ) ) {
clazz = Class.forName( actionClass );
return clazz;
}