org.spicefactory.pimento.generator.ant
Class SourceGeneratorSettings

java.lang.Object
  extended by org.spicefactory.pimento.generator.ant.SourceGeneratorSettings

public class SourceGeneratorSettings
extends Object

Represents a single as3SourceGenerator tag in a Cinnamon Generator Ant Task.

Author:
Jens Halm

Constructor Summary
SourceGeneratorSettings()
           
 
Method Summary
 File getOutputDir()
          Returns the directory that serves as the root directory for all generated source files.
 void setOutputDir(File outputDir)
          Sets the directory that serves as the root directory for all generated source files.
 void validate()
          Checks if the outputDir property has been set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceGeneratorSettings

public SourceGeneratorSettings()
Method Detail

getOutputDir

public File getOutputDir()
Returns the directory that serves as the root directory for all generated source files.

Returns:
the directory that serves as the root directory for all generated source files.

setOutputDir

public void setOutputDir(File outputDir)
Sets the directory that serves as the root directory for all generated source files.

Parameters:
outputDir - the directory that serves as the root directory for all generated source files.

validate

public void validate()
              throws org.apache.tools.ant.BuildException
Checks if the outputDir property has been set.

Throws:
org.apache.tools.ant.BuildException - if the outputDir property has not been set