gov.bnl.star.offline.scheduler.initializer
Class XMLInitializer

java.lang.Object
  extended by gov.bnl.star.offline.scheduler.initializer.XMLInitializer
All Implemented Interfaces:
JobInitializer

public class XMLInitializer
extends java.lang.Object
implements JobInitializer

Example class to test the scheduler.

Version:
$Revision: 1.23 $ $Date: 2006/11/21 00:41:35 $
Author:
Gabriele Carcassi / Levente Hajdu

Constructor Summary
XMLInitializer()
          Creates a new instance of SimpleInitializer
 
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.
 boolean getCheckIfFilesExistLocally()
           
 java.lang.String getDefaultFileListSyntax()
          Getter for property defaultFileListSyntax.
 void setCheckIfFilesExistLocally(boolean checkIfFilesExistLocally)
           
 void setDefaultFileListSyntax(java.lang.String defaultFileListSyntax)
          Setter for property defaultFileListSyntax.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLInitializer

public XMLInitializer()
Creates a new instance of SimpleInitializer

Method Detail

analizeRequest

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

Specified by:
analizeRequest in interface JobInitializer
Parameters:
xmlFileName - the XML file containing the description of the job
Returns:
the job description and requirements as found in the XML file

getDefaultFileListSyntax

public java.lang.String getDefaultFileListSyntax()
Getter for property defaultFileListSyntax.

Returns:
Value of property defaultFileListSyntax.

setDefaultFileListSyntax

public void setDefaultFileListSyntax(java.lang.String defaultFileListSyntax)
Setter for property defaultFileListSyntax.

Parameters:
defaultFileListSyntax - New value of property defaultFileListSyntax.

setCheckIfFilesExistLocally

public void setCheckIfFilesExistLocally(boolean checkIfFilesExistLocally)

getCheckIfFilesExistLocally

public boolean getCheckIfFilesExistLocally()


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