A GeneratorTask
generates a configuration file based on a domain object of type T.
When executed the task:
- The domain object for the configuration file.Modifiers | Name | Description |
---|---|---|
protected ActionBroadcast<T> |
afterConfigured |
|
protected ActionBroadcast<T> |
beforeConfigured |
|
protected T |
domainObject |
|
protected Generator<T> |
generator |
Constructor and description |
---|
GeneratorTask
() |
Type | Name and description |
---|---|
File |
getInputFile() The input file to load the initial configuration from. |
protected Instantiator |
getInstantiator() |
File |
getOutputFile() The output file to write the final configuration to. |
void |
setInputFile(File inputFile) Sets the input file to load the initial configuration from. |
void |
setOutputFile(File outputFile) Sets the output file to write the final configuration to. |
The input file to load the initial configuration from. Defaults to the output file. If the specified input file does not exist, this task uses some default initial configuration.
The output file to write the final configuration to.
Sets the input file to load the initial configuration from.
inputFile
- The input file. Use null to use the output file.Sets the output file to write the final configuration to.
outputFile
- The output file.