Class MarkerFileUtility


  • public class MarkerFileUtility
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MarkerFileUtility​(org.apache.log4j.Logger operationLog, org.apache.log4j.Logger notificationLog, ch.systemsx.cisd.common.filesystem.IFileOperations fileOperations, ch.systemsx.cisd.etlserver.IStoreRootDirectoryHolder storeRootDirectoryHolder)  
      MarkerFileUtility​(org.apache.log4j.Logger operationLog, org.apache.log4j.Logger notificationLog, ch.systemsx.cisd.common.filesystem.IFileOperations fileOperations, java.io.File storeRootDirectory)  
    • Constructor Detail

      • MarkerFileUtility

        public MarkerFileUtility​(org.apache.log4j.Logger operationLog,
                                 org.apache.log4j.Logger notificationLog,
                                 ch.systemsx.cisd.common.filesystem.IFileOperations fileOperations,
                                 ch.systemsx.cisd.etlserver.IStoreRootDirectoryHolder storeRootDirectoryHolder)
      • MarkerFileUtility

        public MarkerFileUtility​(org.apache.log4j.Logger operationLog,
                                 org.apache.log4j.Logger notificationLog,
                                 ch.systemsx.cisd.common.filesystem.IFileOperations fileOperations,
                                 java.io.File storeRootDirectory)
    • Method Detail

      • getMarkerFileFromIncoming

        public static java.io.File getMarkerFileFromIncoming​(java.io.File incoming)
      • getIncomingDataSetPathFromMarker

        public final java.io.File getIncomingDataSetPathFromMarker​(java.io.File isFinishedPath)
        From given isFinishedPath gets the incoming data set path and checks it.
        Returns:
        null if a problem has happened. Otherwise a useful and usable incoming data set path is returned.
      • deleteAndLogIsFinishedMarkerFile

        public boolean deleteAndLogIsFinishedMarkerFile​(java.io.File isFinishedFile)