In this example, add two lines to the output.
package org.talend;
import di_demo.calljobineclipsedemo_0_1.CallJobInEclipseDemo;
public class TalendExample {
public static void main(String[] args) {
// TODO Auto-generated method stub
CallJobInEclipseDemo talendJob=new CallJobInEclipseDemo();
int nb_line=2;
String name="Ross";
String [] context=new String[] {"--context_param nb_line="+nb_line,"--context_param name="+name};
talendJob.runJob(context);
}
}