org.pentaho.di.repository.Repository.getTransformationNames()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.pentaho.di.repository.Repository.getTransformationNames方法的一些代码示例,展示了Repository.getTransformationNames的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.getTransformationNames方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称:Repository
方法名:getTransformationNames

Repository.getTransformationNames介绍

暂无

代码示例

代码示例来源:origin: pentaho/pentaho-kettle

@Override
public String[] getTransformationNames( ObjectId objectId, boolean b ) throws KettleException {
 return getDelegate().getTransformationNames( objectId, b );
}

代码示例来源:origin: pentaho/pentaho-kettle

protected void printRepositoryStoredTransformations( Repository repository, RepositoryDirectoryInterface directory ) throws KettleException {
 logDebug( "Pan.Log.GettingListTransDirectory", "" + directory );
 String[] transformations = repository.getTransformationNames( directory.getObjectId(), false );
 if ( transformations != null ) {
  for ( String trans :  transformations ) {
   System.out.println( trans );
  }
 }
}

代码示例来源:origin: pentaho/pentaho-kettle

for ( int d = 0; d < dirids.length; d++ ) {
 RepositoryDirectoryInterface repdir = directoryTree.findDirectory( dirids[d] );
 String[] trans = rep.getTransformationNames( dirids[d], false );

代码示例来源:origin: pentaho/pentaho-kettle

Mockito.when( repository.getTransformationNames( Mockito.any( ObjectId.class ), Mockito.anyBoolean() ) )
 .thenReturn( new String[] { "trans1" } );

代码示例来源:origin: pentaho/pentaho-kettle

final String DUMMY_TRANS_2 = "test-trans-name-2";
when( mockRepository.getTransformationNames( anyObject(), anyBoolean() ) ).thenReturn( new String[]{ DUMMY_TRANS_1, DUMMY_TRANS_2 } );
when( mockRepository.loadRepositoryDirectoryTree() ).thenReturn( mockRepositoryDirectory );

代码示例来源:origin: pentaho/pentaho-kettle

String[] trans = repository.getTransformationNames( dirids[d], false );
log.logDebug( BaseMessages.getString( PKG, "Repository.Exporter.Log.FindTrans",
  trans.length, repdir.getName() ) );

相关文章

Repository类方法