本文整理了Java中org.pentaho.di.repository.Repository.getJobNames
方法的一些代码示例,展示了Repository.getJobNames
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Repository.getJobNames
方法的具体详情如下:
包路径:org.pentaho.di.repository.Repository
类名称:Repository
方法名:getJobNames
暂无
代码示例来源:origin: pentaho/pentaho-kettle
@Override
public String[] getJobNames( ObjectId objectId, boolean b ) throws KettleException {
return getDelegate().getJobNames( objectId, b );
}
代码示例来源:origin: pentaho/pentaho-kettle
protected void printRepositoryStoredJobs( Repository repository, RepositoryDirectoryInterface directory ) throws KettleException {
logDebug( "Kitchen.Log.GettingLostJobsInDirectory", "" + directory );
String[] jobnames = repository.getJobNames( directory.getObjectId(), false );
for ( int i = 0; i < jobnames.length; i++ ) {
System.out.println( jobnames[i] );
}
}
代码示例来源:origin: pentaho/pentaho-kettle
for ( int d = 0; d < dirids.length; d++ ) {
RepositoryDirectoryInterface repdir = directoryTree.findDirectory( dirids[d] );
String[] jobs = rep.getJobNames( dirids[d], false );
代码示例来源:origin: pentaho/pentaho-kettle
Mockito.when( root.findDirectory( Mockito.any( ObjectId.class ) ) ).thenReturn( root );
Mockito.when( repository.getJobNames( Mockito.any( ObjectId.class ), Mockito.anyBoolean() ) ).thenReturn(
new String[] { "job1" } );
Mockito.when( repository.getTransformationNames( Mockito.any( ObjectId.class ), Mockito.anyBoolean() ) )
代码示例来源:origin: pentaho/pentaho-kettle
final String DUMMY_JOB_2 = "test-job-name-2";
when( mockRepository.getJobNames( anyObject(), anyBoolean() ) ).thenReturn( new String[]{ DUMMY_JOB_1, DUMMY_JOB_2 } );
when( mockRepository.loadRepositoryDirectoryTree() ).thenReturn( mockRepositoryDirectory );
代码示例来源:origin: pentaho/pentaho-kettle
String[] jobs = repository.getJobNames( dirids[d], false );
log.logDebug( BaseMessages.getString( PKG, "Repository.Exporter.Log.FindJobs",
jobs.length, repdir.getName() ) );
内容来源于网络,如有侵权,请联系作者删除!