test_class.file: src/modules/rest/auditing/src/test/java/it/geosolutions/geostore/services/rest/auditing/AuditingFilesManagerTest.java
test_class.identifier: AuditingFilesManagerTest
test_class.superclass: extends AuditingTestsBase
test_case.body: @Test
      public void testCleanInit() {
          AuditingFilesManager auditingFilesManager =
                  new AuditingFilesManager(OUTPUT_DIRECTORY.getPath(), "txt");
          File expectedOutputFile = new File(OUTPUT_DIRECTORY, "audit-geostore.txt");
          assertEquals(auditingFilesManager.getOutputFile(), expectedOutputFile);
          AuditingTestsUtils.checkDirectoryContainsFiles(OUTPUT_DIRECTORY, expectedOutputFile);
      }
test_case.class_method_signature: AuditingFilesManagerTest.testCleanInit()
test_case.full_signature: @Test public void testCleanInit()
test_case.identifier: testCleanInit
test_case.invocations: getPath assertEquals getOutputFile checkDirectoryContainsFiles
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCleanInit()
focal_class.declarator: logger = Logger.getLogger(AuditingFilesManager.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = Logger.getLogger(AuditingFilesManager.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: dateFormat = new SimpleDateFormat("yyyyMMdd")
focal_class.modifier: private final
focal_class.original_string: private final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
focal_class.type: SimpleDateFormat
focal_class.var_name: dateFormat
focal_class.declarator: outputDirectory
focal_class.modifier: private final
focal_class.original_string: private final File outputDirectory;
focal_class.type: File
focal_class.var_name: outputDirectory
focal_class.declarator: fileExtension
focal_class.modifier: private final
focal_class.original_string: private final String fileExtension;
focal_class.type: String
focal_class.var_name: fileExtension
focal_class.declarator: outputFile
focal_class.modifier: private
focal_class.original_string: private File outputFile;
focal_class.type: File
focal_class.var_name: outputFile
focal_class.declarator: currentDayTag
focal_class.modifier: private
focal_class.original_string: private String currentDayTag;
focal_class.type: String
focal_class.var_name: currentDayTag
focal_class.declarator: filePattern
focal_class.modifier: private
focal_class.original_string: private Pattern filePattern;
focal_class.type: Pattern
focal_class.var_name: filePattern
focal_class.file: src/modules/rest/auditing/src/main/java/it/geosolutions/geostore/services/rest/auditing/AuditingFilesManager.java
focal_class.identifier: AuditingFilesManager
focal_class.class_method_signature: AuditingFilesManager.AuditingFilesManager(String outputDirectoryPath, String fileExtension)
focal_class.full_signature:   AuditingFilesManager(String outputDirectoryPath, String fileExtension)
focal_class.identifier: AuditingFilesManager
focal_class.parameters: (String outputDirectoryPath, String fileExtension)
focal_class.signature:  AuditingFilesManager(String outputDirectoryPath, String fileExtension)
focal_class.class_method_signature: AuditingFilesManager.rollOutputFile()
focal_class.full_signature:  File rollOutputFile()
focal_class.identifier: rollOutputFile
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File rollOutputFile()
focal_class.class_method_signature: AuditingFilesManager.getOutputFile()
focal_class.full_signature:  File getOutputFile()
focal_class.identifier: getOutputFile
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File getOutputFile()
focal_class.class_method_signature: AuditingFilesManager.getCurrentDayTag()
focal_class.full_signature:  String getCurrentDayTag()
focal_class.identifier: getCurrentDayTag
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCurrentDayTag()
focal_class.class_method_signature: AuditingFilesManager.makeOutputFileExists()
focal_class.full_signature:  void makeOutputFileExists()
focal_class.identifier: makeOutputFileExists
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void makeOutputFileExists()
focal_class.class_method_signature: AuditingFilesManager.init()
focal_class.full_signature: private void init()
focal_class.identifier: init
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: AuditingFilesManager.handleExistingOutputDirectory()
focal_class.full_signature: private void handleExistingOutputDirectory()
focal_class.identifier: handleExistingOutputDirectory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void handleExistingOutputDirectory()
focal_class.class_method_signature: AuditingFilesManager.updateCurrentDay()
focal_class.full_signature: private void updateCurrentDay()
focal_class.identifier: updateCurrentDay
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updateCurrentDay()
focal_class.class_method_signature: AuditingFilesManager.getRollinFileName(int nextRollingValue)
focal_class.full_signature: private String getRollinFileName(int nextRollingValue)
focal_class.identifier: getRollinFileName
focal_class.modifiers: private
focal_class.parameters: (int nextRollingValue)
focal_class.return: String
focal_class.signature: String getRollinFileName(int nextRollingValue)
focal_class.class_method_signature: AuditingFilesManager.moveOutputFile(File rollingFile)
focal_class.full_signature: private void moveOutputFile(File rollingFile)
focal_class.identifier: moveOutputFile
focal_class.modifiers: private
focal_class.parameters: (File rollingFile)
focal_class.return: void
focal_class.signature: void moveOutputFile(File rollingFile)
focal_class.class_method_signature: AuditingFilesManager.createOutputFile()
focal_class.full_signature: private void createOutputFile()
focal_class.identifier: createOutputFile
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void createOutputFile()
focal_class.class_method_signature: AuditingFilesManager.getNextRollingValue()
focal_class.full_signature: private int getNextRollingValue()
focal_class.identifier: getNextRollingValue
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNextRollingValue()
focal_class.class_method_signature: AuditingFilesManager.getRollingValues()
focal_class.full_signature: private List<Integer> getRollingValues()
focal_class.identifier: getRollingValues
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: List<Integer>
focal_class.signature: List<Integer> getRollingValues()
focal_class.class_method_signature: AuditingFilesManager.listOutputDirectoryFiles()
focal_class.full_signature: private String[] listOutputDirectoryFiles()
focal_class.identifier: listOutputDirectoryFiles
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] listOutputDirectoryFiles()
focal_method.body: File getOutputFile() {
          return outputFile;
      }
focal_method.class_method_signature: AuditingFilesManager.getOutputFile()
focal_method.full_signature:  File getOutputFile()
focal_method.identifier: getOutputFile
focal_method.parameters: ()
focal_method.return: File
focal_method.signature: File getOutputFile()