public interface ScriptPathProvider
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getScriptPath(JobInstance jobInstance,
java.lang.String scriptName) |
java.lang.String getScriptPath(JobInstance jobInstance, java.lang.String scriptName) throws java.io.FileNotFoundException
jobInstance
- the job instance which may be used to access the job installation for the script.scriptName
- the name of the script file. Not the full path.java.io.FileNotFoundException
- if the script does not exist.