Package | Description |
---|---|
org.apache.torque.generator.configuration |
This package contains the classes for configuring the Torque generator.
|
org.apache.torque.generator.control |
This package implements the torque generator Controller .
|
org.apache.torque.generator.control.existingtargetstrategy |
This package defines and implements strategies for dealing with the
situation that a target file already exists.
|
org.apache.torque.generator.source.transform |
This package contains the definition of source transformers
and some implementations.
|
Modifier and Type | Method and Description |
---|---|
List<UnitConfiguration> |
Configuration.getUnitConfigurations()
Returns the list of UnitConfigurations.
|
Modifier and Type | Method and Description |
---|---|
UnitConfiguration |
ControllerState.getUnitConfiguration()
Returns the configuration of the currently processed generation unit.
|
Modifier and Type | Method and Description |
---|---|
static File |
ControllerHelper.getOutputFile(String outputDirKey,
String outputPath,
UnitConfiguration unitConfiguration)
Calculates the location of the target file from the file name and
the unit configuration.
|
protected void |
Controller.processGenerationUnit(ControllerState controllerState,
UnitConfiguration unitConfiguration)
Processes a unit of generation.
|
void |
ControllerState.setUnitConfiguration(UnitConfiguration unitConfiguration)
Sets the configuration of the currently processed generation unit.
|
Modifier and Type | Method and Description |
---|---|
void |
AppendToTargetFileStrategy.afterGeneration(String outputDirKey,
String outputPath,
String encoding,
OutletResult generationResult,
UnitConfiguration unitConfiguration)
Processes the results of the generation.
|
void |
ExistingTargetStrategy.afterGeneration(String outputDirKey,
String outputPath,
String encoding,
OutletResult generationResult,
UnitConfiguration unitConfiguration)
Processes the results of the generation.
|
void |
MergeTargetFileStrategy.afterGeneration(String outputDirKey,
String outputPath,
String encoding,
OutletResult generationResult,
UnitConfiguration unitConfiguration)
Processes the results of the generation.
|
void |
ReplaceTargetFileStrategy.afterGeneration(String outputDirKey,
String outputPath,
String encoding,
OutletResult generationResult,
UnitConfiguration unitConfiguration)
Processes the results of the generation.
|
boolean |
AppendToTargetFileStrategy.beforeGeneration(String outputDirKey,
String outputPath,
String encoding,
UnitConfiguration unitConfiguration)
Will be called before the generation is started and decides whether
the generation process for this file should proceed.
|
boolean |
ExistingTargetStrategy.beforeGeneration(String outputDirKey,
String outputPath,
String encoding,
UnitConfiguration unitConfiguration)
Will be called before the generation is started and decides whether
the generation process for this file should proceed.
|
boolean |
MergeTargetFileStrategy.beforeGeneration(String outputDirKey,
String outputPath,
String encoding,
UnitConfiguration unitConfiguration)
Will be called before the generation is started and decides whether
the generation process for this file should proceed.
|
boolean |
ReplaceTargetFileStrategy.beforeGeneration(String outputDirKey,
String outputPath,
String encoding,
UnitConfiguration unitConfiguration)
Will be called before the generation is started and decides whether
the generation process for this file should proceed.
|
boolean |
SkipExistingTargetFileStrategy.beforeGeneration(String outputDirKey,
String outputPath,
String encoding,
UnitConfiguration unitConfiguration)
Will be called before the generation is started and decides whether
the generation process for this file should proceed.
|
Modifier and Type | Method and Description |
---|---|
protected static Object |
SourceElementToModelTransformer.getInstance(String className,
UnitConfiguration unitConfiguration)
Creates an instance of a class.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.