gov.llnl.babel.backend
Interface BuildGenerator

All Known Implementing Classes:
DualGenerator, MakefileGenerator, SetupGenerator

public interface BuildGenerator

This interface is used by backends to provide the basic information needed by a build system such as Makefile or Python distutils.


Method Summary
 void createAll()
          Generate the files needed to support the building of Babel generated files.
 java.util.Set getLanguages()
          Return the set of languages that this build generator serves.
 

Method Detail

createAll

public void createAll()
               throws java.io.IOException
Generate the files needed to support the building of Babel generated files. For example, this could create babel.make files or a Python setup.py for distutils.

Throws:
java.io.IOException - this is a exception that contains all the I/O exceptions that occurred during file generation.

getLanguages

public java.util.Set getLanguages()
Return the set of languages that this build generator serves. Each build generator serves a Set of languages.

Returns:
a Set of strings. Each string in the set represents a language supported by the build generator.