Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Jury2016-09-10 21:47:23 -0400
committerAndy Jury2016-10-07 17:17:09 -0400
commit374be5cdcec1be84e2aae52a52bf1f07d9748271 (patch)
tree9157c5efa7e2af71d5fa5adde8e74b3f8ab78bfd
parent5090f2bb329cabef54433ee691867a3331cb65c5 (diff)
downloadorg.eclipse.osee-ote_0.21.0.tar.gz
org.eclipse.osee-ote_0.21.0.tar.xz
org.eclipse.osee-ote_0.21.0.zip
feature[ats_ATS308197]: Add miscFiles directory.OTE_06_21_2107OTE_06_21_201710_20_201606_21_2017ote_0.21.0
-rw-r--r--plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/OTEServerFolder.java9
-rw-r--r--plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/internal/OTEFolderImpl.java7
2 files changed, 15 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/OTEServerFolder.java b/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/OTEServerFolder.java
index 735dae1c6b..de46898567 100644
--- a/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/OTEServerFolder.java
+++ b/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/OTEServerFolder.java
@@ -31,7 +31,14 @@ public interface OTEServerFolder {
public File getBatchesFolder();
public File getCacheFolder();
-
+
+ /**
+ * This is the root folder for miscellaneous files that might want to be stored.
+ *
+ * @return
+ */
+ public File getMiscFiles();
+
/**
* This is the batch log file that contains all LEVEL.SEVERE and above log events that happened during
* a batch.
diff --git a/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/internal/OTEFolderImpl.java b/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/internal/OTEFolderImpl.java
index db170ed3d3..a58fdc9463 100644
--- a/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/internal/OTEFolderImpl.java
+++ b/plugins/org.eclipse.osee.ote.io/src/org/eclipse/osee/ote/io/internal/OTEFolderImpl.java
@@ -43,6 +43,8 @@ public class OTEFolderImpl implements OTEServerFolder{
private static File BATCHES = new File(OTESERVER, "batches");
private static File JARCACHE = new File(OTESERVER, "runtimeCache");
private static File SERVERS = new File(OTESERVER, "servers");
+ private static File MISCFILES = new File(OTESERVER, "miscFiles");
+
private static SimpleDateFormat format = new SimpleDateFormat("yyyy_MM_dd___kk_mm_ss");
private File currentServerFolder;
@@ -190,6 +192,11 @@ public class OTEFolderImpl implements OTEServerFolder{
public File getCacheFolder(){
return JARCACHE;
}
+
+ @Override
+ public File getMiscFiles() {
+ return MISCFILES;
+ }
@Override
public File getNewServerFolder() {

Back to the top