public class JobWithJars extends Object
| Constructor and Description |
|---|
JobWithJars(Plan plan,
List<String> jarFiles) |
JobWithJars(Plan plan,
String jarFile) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkJarFile(File jar) |
List<File> |
getJarFiles()
Returns list of jar files that need to be submitted with the plan.
|
Plan |
getPlan()
Returns the plan
|
ClassLoader |
getUserCodeClassLoader()
Gets the
ClassLoader that must be used to load user code classes. |
public JobWithJars(Plan plan, List<String> jarFiles) throws IOException
IOExceptionpublic JobWithJars(Plan plan, String jarFile) throws IOException
IOExceptionpublic Plan getPlan()
public List<File> getJarFiles()
public ClassLoader getUserCodeClassLoader()
ClassLoader that must be used to load user code classes.public static void checkJarFile(File jar) throws IOException
IOExceptionCopyright © 2013–2014. All rights reserved.