|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Program
Abstraction of a executable program.
| Method Summary | ||
|---|---|---|
ClassLoader |
getClassLoader()
Returns the class loader for loading classes inside this program. |
|
String |
getId()
Returns the program ID. |
|
org.apache.twill.filesystem.Location |
getJarLocation()
Returns the location of the jar file of this program. |
|
|
getMainClass()
Loads and returns the main class of the program |
|
String |
getMainClassName()
Returns the name of the main class in the program. |
|
String |
getName()
Returns name of the program. |
|
co.cask.tigon.api.flow.FlowSpecification |
getSpecification()
Returns the flow specification. |
|
ProgramType |
getType()
Returns the program type. |
|
| Method Detail |
|---|
String getMainClassName()
<T> Class<T> getMainClass()
throws ClassNotFoundException
ClassNotFoundException - If fails to load the class.ProgramType getType()
String getId()
String getName()
co.cask.tigon.api.flow.FlowSpecification getSpecification()
org.apache.twill.filesystem.Location getJarLocation()
ClassLoader getClassLoader()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||