gov.llnl.babel.backend
Interface BuildGenerator

All Known Implementing Classes:
DependenciesGenerator, MakefileGenerator, PackageMakeInfoGenerator, 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. In general, BuildGenerators as a group are invoked after the CodeGenerators for a given language, but in no particular order.


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

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

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.