org.griphyn.cPlanner.code.generator.condor
Interface CondorStyle

All Known Implementing Classes:
Abstract, Condor, CondorG, CondorGlideIN

public interface CondorStyle

An interface to allow us to apply different execution styles to a job via Condor DAGMAN. Some of the common styles supported are - CondorG - Condor - Condor GlideIn

Version:
$Revision: 50 $

Field Summary
static String VERSION
          The version number associated with this API of Code Generator.
 
Method Summary
 void apply(SubInfo job)
          Apply a style to a job.
 void initialize(PegasusProperties properties, PoolInfoProvider siteCatalog)
          Initializes the Condor Style implementation.
 

Field Detail

VERSION

static final String VERSION
The version number associated with this API of Code Generator.

See Also:
Constant Field Values
Method Detail

initialize

void initialize(PegasusProperties properties,
                PoolInfoProvider siteCatalog)
                throws CondorStyleException
Initializes the Condor Style implementation.

Parameters:
properties - the PegasusProperties object containing all the properties required by Pegasus.
siteCatalog - a handle to the Site Catalog being used.
Throws:
CondorStyleException - in case of any error occuring code generation.

apply

void apply(SubInfo job)
           throws CondorStyleException
Apply a style to a job. Involves changing the job object, and optionally writing out to the Condor submit file.

Parameters:
job - the SubInfo object containing the job.
Throws:
CondorStyleException - in case of any error occuring code generation.


Copyright © 2007 The University of Southern California. All Rights Reserved.