Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-451

Implement Marker File precondition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.4
    • metadata container
    • 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);

      Attachments

        Activity

          People

            cinquini Luca Cinquini
            cinquini Luca Cinquini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: