public class SiftsSettings
{
- private boolean mapWithSifts = false;
-
- private String siftDownloadDirectory;
-
- private int cacheThresholdInDays;
- private int failSafePIDThreshold;
-
- private static SiftsSettings getInstance()
+ /**
+ * public only for testng
+ *
+ * @return
+ */
+ public static SiftsSettings getInstance()
{
{
Instance j = Instance.getInstance();
}
}
+
+ private SiftsSettings()
+ {
+ // singleton; use getInstance()
+ }
+
+ private boolean mapWithSifts = false;
+
+ private String siftDownloadDirectory;
+
+ private int cacheThresholdInDays;
+
+ private int failSafePIDThreshold;
+
public static boolean isMapWithSifts()
{
return getInstance().mapWithSifts;