job.getJobMeta().setInternalKettleVariables( job ); job.injectVariables( jobConfiguration.getJobExecutionConfiguration().getVariables() ); job.setArguments( jobExecutionConfiguration.getArgumentStrings() );
job.getJobMeta().setInternalKettleVariables( job ); job.injectVariables( jobConfiguration.getJobExecutionConfiguration().getVariables() ); job.setArguments( jobExecutionConfiguration.getArgumentStrings() );
job.getJobMeta().setInternalKettleVariables( job ); job.injectVariables( jobConfiguration.getJobExecutionConfiguration().getVariables() );
jobMeta.setInternalKettleVariables(); addJobGraph( jobMeta );
job.initializeVariablesFrom( null ); job.setLogLevel( getLog().getLogLevel() ); job.getJobMeta().setInternalKettleVariables( job ); job.setRepository( repository ); job.getJobMeta().setRepository( repository );
job.getJobMeta().setInternalKettleVariables( job ); job.injectVariables( jobConfiguration.getJobExecutionConfiguration().getVariables() ); job.setArguments( jobExecutionConfiguration.getArgumentStrings() );
tabfolder.setSelected( desired ); jobMeta.setInternalKettleVariables(); if ( getCoreObjectsState() != STATE_CORE_OBJECTS_CHEF ) {
@Test public void testCurrentDirJob() throws Exception { final String dirName = "dirName"; final String jobName = "job"; JobMeta setupJobMeta = new JobMeta(); setupJobMeta.setName( jobName ); RepositoryDirectoryInterface repoDir = repository.createRepositoryDirectory( new RepositoryDirectory(), dirName ); setupJobMeta.setRepositoryDirectory( repoDir ); repository.save( setupJobMeta, "" ); JobMeta jobMeta = repository.loadJob( jobName, repoDir, null, "" ); assertEquals( repository, jobMeta.getRepository() ); assertEquals( repoDir.getPath(), jobMeta.getRepositoryDirectory().getPath() ); jobMeta.setInternalKettleVariables(); String currentDir = jobMeta.getVariable( Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY ); assertEquals( repoDir.getPath(), currentDir ); }
throw new KettleXMLException( BaseMessages.getString( PKG, "JobMeta.Exception.UnableToLoadJobFromXMLNode" ), e ); } finally { setInternalKettleVariables();
parentJob.getJobMeta().setInternalKettleVariables();
} finally { jobMeta.initializeVariablesFrom( jobMeta.getParentVariableSpace() ); jobMeta.setInternalKettleVariables();