protected String loadSourceRep( Repository rep, ObjectId id_jobentry, int a ) throws KettleException { String source_filefolder = rep.getJobEntryAttributeString( id_jobentry, a, SOURCE_FILE_FOLDER ); String ncName = rep.getJobEntryAttributeString( id_jobentry, a, SOURCE_CONFIGURATION_NAME ); return loadURL( source_filefolder, ncName, getMetaStore(), configurationMappings ); }
protected String loadSource( Node fnode ) { String source_filefolder = XMLHandler.getTagValue( fnode, SOURCE_FILE_FOLDER ); String ncName = XMLHandler.getTagValue( fnode, SOURCE_CONFIGURATION_NAME ); return loadURL( source_filefolder, ncName, getMetaStore(), configurationMappings ); }
protected String loadDestination( Node fnode ) { String destination_filefolder = XMLHandler.getTagValue( fnode, DESTINATION_FILE_FOLDER ); String ncName = XMLHandler.getTagValue( fnode, DESTINATION_CONFIGURATION_NAME ); return loadURL( destination_filefolder, ncName, getMetaStore(), configurationMappings ); }
protected String loadDestinationRep( Repository rep, ObjectId id_jobentry, int a ) throws KettleException { String destination_filefolder = rep.getJobEntryAttributeString( id_jobentry, a, DESTINATION_FILE_FOLDER ); String ncName = rep.getJobEntryAttributeString( id_jobentry, a, DESTINATION_CONFIGURATION_NAME ); return loadURL( destination_filefolder, ncName, getMetaStore(), configurationMappings ); }
source = JobEntryCopyFiles.SOURCE_URL + i + "-" + source; dest = JobEntryCopyFiles.DEST_URL + i + "-" + dest; jobEntry.source_filefolder[i] = jobEntry.loadURL( source, sourceNc, getMetaStore(), sourceDestinationMappings ); jobEntry.destination_filefolder[i] = jobEntry.loadURL( dest, destNc, getMetaStore(), sourceDestinationMappings ); jobEntry.wildcard[i] = wild;
dest = JobEntryCopyFiles.DEST_URL + i + "-" + dest; jobEntry.source_filefolder[i] = jobEntry.loadURL( source, sourceNc, getMetaStore(), namedClusterURLMappings ); jobEntry.destination_filefolder[i] = jobEntry.loadURL( dest, destNc, getMetaStore(), namedClusterURLMappings ); jobEntry.wildcard[i] = wild;