]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.common/src/org/simantics/db/common/internal/config/InternalClientConfig.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.db.common / src / org / simantics / db / common / internal / config / InternalClientConfig.java
1 package org.simantics.db.common.internal.config;
2
3 import java.io.File;
4
5 import org.simantics.db.common.internal.Activator;
6 import org.simantics.db.common.utils.Logger;
7
8 /**
9  * @author Tuukka Lehtonen
10  * @see Logger
11  */
12 public class InternalClientConfig {
13
14         /**
15          * Name of the DB client temporary data directory. 
16          */
17         public final static String DB_CLIENT_TEMP_DIR_NAME = "temp";
18
19         /**
20          * Name of the DB client log file. 
21          */
22         public final static String DB_CLIENT_LOG_FILE_NAME = "db-client.log";
23
24         /**
25          * The directory used for temporary data by the database client. If the
26          * program if being ran in an OSGi container, {@link Activator} will attempt
27          * to configure this path based on the current OSGi instance area location.
28          * 
29          * @see Activator
30          */
31         public static File DB_CLIENT_TEMP_DIR = new File(DB_CLIENT_TEMP_DIR_NAME);
32
33         /**
34          * A relative or full absolute path to the log file created by
35          * {@link Logger}. Used statically for initialization in {@link Logger} and
36          * therefore must be configured prior to referencing {@link Logger}. If the
37          * program if being ran in an OSGi container, {@link Activator} will attempt
38          * to configure this path based on the current OSGi instance area location.
39          * 
40          * @see Activator
41          * @see Logger
42          */
43         public static String DB_CLIENT_LOG_FILE = DB_CLIENT_LOG_FILE_NAME;
44
45 }