@BeforeClass public static void setUpBeforeClass() throws KettlePluginException { ValueMetaPluginType.getInstance().searchPlugins(); }
public static ValueMetaPluginType getInstance() { if ( valueMetaPluginType == null ) { valueMetaPluginType = new ValueMetaPluginType(); } return valueMetaPluginType; }
private ValueMetaPluginType() { super( ValueMetaPlugin.class, "VALUEMETA", "ValueMeta" ); populateFolders( "valuemeta" ); }
public static synchronized void init() throws KettleException { init( Arrays.asList( LoggingPluginType.getInstance(), ValueMetaPluginType.getInstance(), DatabasePluginType.getInstance(), ExtensionPointPluginType.getInstance(), TwoWayPasswordEncoderPluginType.getInstance() ) ); }
@Override protected void registerXmlPlugins() throws KettlePluginException { for ( PluginFolderInterface folder : pluginFolders ) { if ( folder.isPluginXmlFolder() ) { List<FileObject> pluginXmlFiles = findPluginXmlFiles( folder.getFolder() ); for ( FileObject file : pluginXmlFiles ) { try { Document document = XMLHandler.loadXMLFile( file ); Node pluginNode = XMLHandler.getSubNode( document, "plugin" ); if ( pluginNode != null ) { registerPluginFromXmlResource( pluginNode, KettleVFS.getFilename( file.getParent() ), this .getClass(), false, file.getParent().getURL() ); } } catch ( Exception e ) { // We want to report this plugin.xml error, perhaps an XML typo or something like that... // log.logError( "Error found while reading step plugin.xml file: " + file.getName().toString(), e ); } } } } }
@BeforeClass public static void setUpBeforeClass() throws Exception { PluginRegistry.addPluginType( ValueMetaPluginType.getInstance() ); PluginRegistry.init( false ); }
@BeforeClass public static void setUpBeforeClass() throws KettlePluginException { ValueMetaPluginType.getInstance().searchPlugins(); }
@BeforeClass public static void setUpBeforeClass() throws Exception { PluginRegistry.addPluginType( ValueMetaPluginType.getInstance() ); PluginRegistry.init( false ); }
@BeforeClass public static void setUpBeforeClass() throws KettlePluginException { ValueMetaPluginType.getInstance().searchPlugins(); }
@BeforeClass public static void setUpBeforeClass() throws Exception { PluginRegistry.addPluginType( ValueMetaPluginType.getInstance() ); PluginRegistry.init( false ); }
@BeforeClass public static void setupClass() throws KettleException { ValueMetaPluginType.getInstance().searchPlugins(); }
@BeforeClass public static void setUpBeforeClass() throws KettlePluginException { PluginRegistry.addPluginType( ValueMetaPluginType.getInstance() ); PluginRegistry.init( false ); }
@BeforeClass public static void setUpBeforeClass() throws KettlePluginException { KettleLogStore.init(); ValueMetaPluginType.getInstance().searchPlugins(); }
@BeforeClass public static void setUpBeforeClass() throws Exception { PluginRegistry.addPluginType( ValueMetaPluginType.getInstance() ); PluginRegistry.init( false ); }
@Test public void testEscapeCharacters() throws KettleException, IOException { PluginRegistry.addPluginType( ValueMetaPluginType.getInstance() ); PluginRegistry.init( false );
PluginRegistry.addPluginType( ValueMetaPluginType.getInstance() ); PluginRegistry.init( false );