co.cask.tigon.app.program
Class Programs
java.lang.Object
co.cask.tigon.app.program.Programs
public final class Programs
- extends Object
Factory helper to create Program.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createWithUnpack
public static Program createWithUnpack(org.apache.twill.filesystem.Location location,
File destinationUnpackedJarDir)
throws IOException
- Throws:
IOException
create
public static Program create(org.apache.twill.filesystem.Location location,
ClassLoader classLoader)
throws IOException
- Creates a
Program without expanding the location jar. The Program.getClassLoader()
would not function from the program this method returns.
- Throws:
IOException
create
public static Program create(org.apache.twill.filesystem.Location location)
throws IOException
- Throws:
IOException
Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.