GCModeller program profile session.(GCModeller的应用程序配置会话)
Session
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| GetSettingsFile | 1 | this function will do Session.Initialize()) automatically if the settings session has not been Session.Initialized. |
| Initialize | 1 | Initialize the application session and get the program profile data. |
| Mothur | 1 | 获取得到安装有Mothur程序的Docker容器的ID, 或者可执行文件路径 |
| MothurHome | 1 | |
| TryGetShoalShellBin | 1 | 首先尝试通过配置文件得到脚本环境,假若没有配置这个值,则会尝试通过本身程序来测试,因为这个函数的调用可能是来自于Shoal脚本的 |
| InstallJavaBin | 1 | Just specific the java.exe installed location to running some external Java program in the GCModeller. |
| Finallize | 1 | Close the application session and save the settings file. |
| List | 1 | Listing all of the settings data to the user console. |
| SetValue | 1 | Writes the settings data into the GCModeller profile sessions. |
| FolkShoalThread | 1 | For unawareless of overrides the original data file, this function will automatcly add a .std_out extension to the STDOUT filepath. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| TEMP | 1 | Temp data directory for this application session.(本应用程序会话的临时数据文件夹) |
| Templates | 1 | Templates directory of the GCModeller inputs data. |
| DataCache | 1 | The cache data directory for this application session.(本应用程序的数据缓存文件夹) |
| Initialized | 1 | This property indicates that whether this application session is initialized or not.(应用程序是否已经初始化完毕) |
| LogDIR | 1 | Directory for stores the application log file.(存放应用程序的日志文件的文件系统目录) |
| SettingsDir | 1 | Data storage directory for the program settings.(配置文件所存放的文件夹) |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| _LogDir | 1 | Directory for stores the application log file.(存放应用程序的日志文件的文件系统目录) |
05 Members
this function will do Session.Initialize() automatically if the settings session has not been Session.Initialized.
String)Initialize the application session and get the program profile data.
(初始化应用程序会话,并获取应用程序的配置数据,请注意,如果涉及到配置文件数据的修改保存操作, 请确保在调用当前的这个初始化方法之前已经使用Session.Initialized进行判断,否则新修改 的配置数据将不会被保存到文件之中,因为调用这个方法将会加载新的配置引擎对象,因为在修改的时候所引用 的为旧的配置引擎,所以新修改的配置值将无法写入到旧的配置引擎之中,因为对象的引用关系已经在调用 这个初始化方法之后发生变化了)
获取得到安装有Mothur程序的Docker容器的ID, 或者可执行文件路径
首先尝试通过配置文件得到脚本环境,假若没有配置这个值,则会尝试通过本身程序来测试,因为这个函数的调用可能是来自于Shoal脚本的
String)Just specific the java.exe installed location to running some external Java program in the GCModeller. The path value Of the java program usually Is In the location Like: ""C:\Program Files\Java\jre<version>\bin\java.exe""
| Name | Type | Description |
|---|---|---|
java | String | - |
Close the application session and save the settings file.
Listing all of the settings data to the user console.
String, String)Writes the settings data into the GCModeller profile sessions.
| Name | Type | Description |
|---|---|---|
name | String | - |
value | String | - |
String, String)For unawareless of overrides the original data file, this function will automatcly add a .std_out extension to the STDOUT filepath. (新构建一个Shoal实例运行一个分支脚本任务,在.NET之中线程的效率要比进程的效率要低,使用这种多线程的方法来实现并行的效率要高很多????)
| Name | Type | Description |
|---|---|---|
Script | String | 脚本文件的文件文本内容 |
STDOUT | String | Standard output redirect to this file. Facility the GCModeller debugging. |
Temp data directory for this application session.(本应用程序会话的临时数据文件夹)
Templates directory of the GCModeller inputs data. (在这个文件夹里面存放的是一些分析工具的输入的数据的模板文件)
The cache data directory for this application session.(本应用程序的数据缓存文件夹)
This property indicates that whether this application session is initialized or not.(应用程序是否已经初始化完毕)
Directory for stores the application log file.(存放应用程序的日志文件的文件系统目录)
Data storage directory for the program settings.(配置文件所存放的文件夹)
Directory for stores the application log file.(存放应用程序的日志文件的文件系统目录)