TransientResolver implements DataServiceResolver { @Override public List<DataServiceMeta> getDataServices( String dataServiceName, com.google.common.base.Function<Exception, Void> logger ) { List<DataServiceMeta> dataServiceMetas = new ArrayList<>(); if ( isTransient( dataServiceName ) ) { dataServiceMetas.add( createDataServiceMeta( dataServiceName ) ); } return dataServiceMetas; } TransientResolver( KettleRepositoryLocator repositoryLocator, DataServiceContext context,
                            ServiceCacheFactory cacheFactory, final LogLevel logLevel );  TransientResolver( KettleRepositoryLocator repositoryLocator, DataServiceContext context,
                            ServiceCacheFactory cacheFactory, final LogLevel logLevel, Supplier<Spoon> spoonSupplier ); @Override DataServiceMeta getDataService( String dataServiceName ); @Override List<String> getDataServiceNames( String dataServiceName ); @Override List<DataServiceMeta> getDataServices( String dataServiceName,
                                                          com.google.common.base.Function<Exception, Void> logger ); @Override DataServiceExecutor.Builder createBuilder( SQL sql ); static boolean isTransient( String dataServiceName ); static String buildTransient( String filePath, String stepName ); static String buildTransient( String filePath, String stepName, Integer rowLimit ); String[] splitTransient( String dataServiceName ); @Override List<String> getDataServiceNames(); @Override List<DataServiceMeta> getDataServices( com.google.common.base.Function<Exception, Void> logger ); static final String DELIMITER; static final String PREFIX; static final String LOCAL; static final String STREAMING; }
@Test public void testGetDataServices() { assertEquals( transientResolver.getDataServices( logger ), new ArrayList<>() ); }