gov.bnl.star.offline.scheduler
Interface JobInitializer

All Known Implementing Classes:
XMLInitializer

public interface JobInitializer

Analizes a job requests. A JobInitializer should check whether the request is valid. For example, it can check for privileges, whether the file requested do exist or whether the file requested from a catalog actually is on the catalog.

Version:
$Revision: 1.12 $ $Date: 2006/11/21 00:41:32 $
Author:
Gabriele Carcassi

Method Summary
 Request[] analizeRequest(java.lang.String xmlFileName)
          Analize a job request, and if it's valid returns the description of such job and its requirements.
 

Method Detail

analizeRequest

Request[] analizeRequest(java.lang.String xmlFileName)
Analize a job request, and if it's valid returns the description of such job and its requirements.

Parameters:
xmlFileName - the XML file containing the description of the job
Returns:
the job description and requirements as found in the XML file
Throws:
java.lang.RuntimeException - when the job description wasn't valid (the XML file wasn't found, an input file doesn't exist, the command line wasn't valid...)


Copyright © 2002-2004 STAR collaboration - Brookhaven National Laboratory. All Rights Reserved.