本文整理了Java中org.pentaho.di.repository.Repository.getTransformationNames
方法的一些代码示例,展示了Repository.getTransformationNames
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.getTransformationNames
方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称: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() ) );
内容来源于网络,如有侵权,请联系作者删除!