it.eng.spagobi.engines.talend.utils
Class TalendScriptAccessUtils

java.lang.Object
  extended by it.eng.spagobi.engines.talend.utils.TalendScriptAccessUtils

public class TalendScriptAccessUtils
extends java.lang.Object

Author:
Andrea Gioia

Constructor Summary
TalendScriptAccessUtils()
           
 
Method Summary
static java.lang.String getClassPath(Job job, RuntimeRepository runtimeRepository)
          Gets the class path.
static java.io.File getContextFile(Job job, RuntimeRepository runtimeRepository)
          Gets the context file.
static java.lang.String getContextFileName(Job job)
          Gets the context file name.
static java.io.File getContextsBaseDir(Job job, RuntimeRepository runtimeRepository)
           
static java.lang.String getExecutableClass(Job job)
          Gets the executable class.
static java.lang.String getExecutableFileName(Job job)
          Gets the executable file name.
static java.util.List getIncludedLibs(Job job, RuntimeRepository runtimeRepository)
          Gets the included libs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TalendScriptAccessUtils

public TalendScriptAccessUtils()
Method Detail

getContextsBaseDir

public static java.io.File getContextsBaseDir(Job job,
                                              RuntimeRepository runtimeRepository)

getExecutableClass

public static java.lang.String getExecutableClass(Job job)
Gets the executable class.

Parameters:
job - the job
Returns:
the executable class

getExecutableFileName

public static java.lang.String getExecutableFileName(Job job)
Gets the executable file name.

Parameters:
job - the job
Returns:
the executable file name

getIncludedLibs

public static java.util.List getIncludedLibs(Job job,
                                             RuntimeRepository runtimeRepository)
Gets the included libs.

Parameters:
job - the job
runtimeRepository - the runtime repository
Returns:
the included libs

getClassPath

public static java.lang.String getClassPath(Job job,
                                            RuntimeRepository runtimeRepository)
Gets the class path.

Parameters:
job - the job
Returns:
the class path

getContextFileName

public static java.lang.String getContextFileName(Job job)
Gets the context file name.

Parameters:
job - the job
Returns:
the context file name

getContextFile

public static java.io.File getContextFile(Job job,
                                          RuntimeRepository runtimeRepository)
Gets the context file.

Parameters:
job - the job
runtimeRepository - the runtime repository
Returns:
the context file