Available Methods
- environmentSubstitute ( )
- setFilename ( )
- setDescription ( )
- getLogTables ( )
- addJobEntry ( )
- nrNotes ( )
- getObjectId ( )
- setSharedObjectsFile ( )
- removeJobEntry ( )
- setCreatedUser ( )
- addDatabase ( )
- getDatabases ( )
- getNote ( )
- addJobHop ( )
- setJobLogTable ( )
- setDatabases ( )
- setParameterValue ( )
- initializeVariablesFrom ( )
- setSharedObjects ( )
- setModifiedUser ( )
- getMaximum ( )
- addNote ( )
- nrJobEntries ( )
- indexOfJobEntry ( )
- getObjectRevision ( )
- getName ( )
- getDatabase ( )
- setName ( )
- setInternalKettleVariables ( )
- setModifiedDate ( )
- getJobEntry ( )
- getFilename ( )
- setJobstatus ( )
- setCreatedDate ( )
Related Classes
- java.util.Arrays
- java.util.Collections
- java.io.InputStream
- org.junit.Before
- java.util.UUID
- java.nio.file.Files
- org.junit.Ignore
- org.apache.http.entity.StringEntity
- com.google.common.annotations.VisibleForTesting
- org.eclipse.swt.SWT
- org.eclipse.swt.widgets.Composite
- org.eclipse.swt.widgets.Button
- org.eclipse.swt.widgets.Shell
- org.eclipse.swt.graphics.Image
- org.eclipse.swt.custom.CTabFolder
- org.eclipse.swt.layout.FormAttachment
- org.eclipse.swt.widgets.MessageBox
- org.eclipse.swt.layout.FormData
- org.apache.commons.vfs2.FileObject
- org.pentaho.di.trans.TransMeta
- org.pentaho.di.core.exception.KettleException
- org.pentaho.di.core.database.DatabaseMeta
- org.pentaho.di.core.xml.XMLHandler
- org.pentaho.di.core.Const
- org.pentaho.di.repository.Repository
Java Code Examples for org.pentaho.di.job.JobMeta#setParameterValue()
The following examples show how to use
org.pentaho.di.job.JobMeta#setParameterValue() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BaseJobServlet.java From pentaho-kettle with Apache License 2.0 | 6 votes |
private void copyJobParameters( Job job, Map<String, String> params ) throws UnknownParamException { JobMeta jobMeta = job.getJobMeta(); // Also copy the parameters over... job.copyParametersFrom( jobMeta ); job.clearParameters(); String[] parameterNames = job.listParameters(); for ( String parameterName : parameterNames ) { // Grab the parameter value set in the job entry String thisValue = params.get( parameterName ); if ( !StringUtils.isBlank( thisValue ) ) { // Set the value as specified by the user in the job entry jobMeta.setParameterValue( parameterName, thisValue ); } } jobMeta.activateParameters(); }