git-svn-id: http://talendforge.org/svn/tos/trunk@73207 f6f1c999-d317-4740-80b0-e6d1abc6f99e
30 lines
722 B
Java
30 lines
722 B
Java
// ============================================================================
|
|
//
|
|
// %GENERATED_LICENSE%
|
|
//
|
|
// ============================================================================
|
|
package routines.system.api;
|
|
|
|
/**
|
|
* Interface describing Job behaviors.
|
|
*/
|
|
public interface TalendJob {
|
|
|
|
/**
|
|
* Run a Talend job.
|
|
*
|
|
* @param args job arguments.
|
|
* @return an array of value per row returned.
|
|
*/
|
|
public String[][] runJob(String[] args);
|
|
|
|
/**
|
|
* Run a Talend job.
|
|
*
|
|
* @param args job arguments.
|
|
* @return return code, if 0 execution completed successfully, else execution failed.
|
|
*/
|
|
public int runJobInTOS(String[] args);
|
|
|
|
}
|