Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.3
-
None
Description
Sometimes it is necessary to process a product directory only when the directory has been fully produced, or transferred, which can be indicated by the existence of a special "marker file". It is suggested that we implement a precondition that checks for the existence of a given file within a given product. This precondition would be implemented similarly to org.apache.oodt.cas.metadata.preconditions.ExistanceCheckComparator, but would check for a file at location:
File file = new File(product.getAbsolutePath()+"/"+filePath);