Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Jury2016-09-10 21:47:23 -0400
committerAndy Jury2016-10-14 20:09:32 -0400
commitbff0b87335df8ec2f2585fe01d7ecfacd7ed303c (patch)
tree168550d2fc7f9d5a2131b3e5e19290a5348abefa
parentc2a43a5dc2615aa3b5aa8927ba7f8f938b59f646 (diff)
downloadorg.eclipse.osee-bff0b87335df8ec2f2585fe01d7ecfacd7ed303c.tar.gz
org.eclipse.osee-bff0b87335df8ec2f2585fe01d7ecfacd7ed303c.tar.xz
org.eclipse.osee-bff0b87335df8ec2f2585fe01d7ecfacd7ed303c.zip
feature[ats_ATS308197]: Add miscFiles directory.
-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 592314f243..f9e367c285 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
@@ -45,6 +45,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;
@@ -225,6 +227,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