public class Program
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
Log
The Constant Log.
|
Constructor and Description |
---|
Program() |
Modifier and Type | Method and Description |
---|---|
static ProgramInterface |
get(java.lang.String programName)
returns a program that can execute some functionality.
|
static void |
register(java.lang.String programName,
ProgramInterface programIface)
Register.
|
public static ProgramInterface get(java.lang.String programName) throws ProgramDoesntExistException
programName
- the program nameProgramDoesntExistException
- the program doesnt exist exceptionpublic static void register(java.lang.String programName, ProgramInterface programIface)
programName
- the program nameprogramIface
- the program iface