|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.base.utils.RunningProject
public final class RunningProject
Class for determining which jInfer Project actually runs inference.
Method Summary | |
---|---|
static Project |
getActiveProject()
Gets active project. |
static Properties |
getActiveProjectProps(String moduleName)
Gets Properties of active project. |
static Capabilities |
getNextModuleCaps()
Returns the capabilities of the next module in the inference chain. |
static boolean |
isActiveProject()
Returns whether active project is set or not. |
static void |
removeActiveProject()
Removes active project. |
static boolean |
setActiveProject(Project project)
Sets project as active and return true if there is no active project, otherwise return false. |
static void |
setDefaultProperties(Properties p)
Sets the default properties - those will be returned if there is no running project. |
static void |
setNextModuleCaps(Capabilities aNextModuleCaps)
Sets the capabilities of the next module in the inference chain. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean setActiveProject(Project project)
project
- to be set as active.
public static void removeActiveProject()
public static Project getActiveProject()
public static boolean isActiveProject()
public static Properties getActiveProjectProps(String moduleName)
public static Capabilities getNextModuleCaps()
Capabilities
object returning an empty list of capabilities)
if next module is null
for any reason.public static void setNextModuleCaps(Capabilities aNextModuleCaps)
public static void setDefaultProperties(Properties p)
p
- Properties to be set as default.
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |