Uses of Class
org.apache.torque.generator.configuration.UnitConfiguration
-
Packages that use UnitConfiguration 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. -
-
Uses of UnitConfiguration in org.apache.torque.generator.configuration
Methods in org.apache.torque.generator.configuration that return types with arguments of type UnitConfiguration Modifier and Type Method Description List<UnitConfiguration>
Configuration. getUnitConfigurations()
Returns the list of UnitConfigurations. -
Uses of UnitConfiguration in org.apache.torque.generator.control
Methods in org.apache.torque.generator.control that return UnitConfiguration Modifier and Type Method Description UnitConfiguration
ControllerState. getUnitConfiguration()
Returns the configuration of the currently processed generation unit.Methods in org.apache.torque.generator.control with parameters of type UnitConfiguration Modifier and Type Method 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. -
Uses of UnitConfiguration in org.apache.torque.generator.control.existingtargetstrategy
Methods in org.apache.torque.generator.control.existingtargetstrategy with parameters of type UnitConfiguration Modifier and Type Method 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. -
Uses of UnitConfiguration in org.apache.torque.generator.source.transform
Methods in org.apache.torque.generator.source.transform with parameters of type UnitConfiguration Modifier and Type Method Description protected static Object
SourceElementToModelTransformer. getInstance(String className, UnitConfiguration unitConfiguration)
Creates an instance of a class.
-