Uses of Class
org.apache.torque.generator.configuration.UnitConfiguration
Packages that use UnitConfiguration
Package
Description
This package contains the classes for configuring the Torque generator.
This package implements the torque generator Controller .
This package defines and implements strategies for dealing with the
situation that a target file already exists.
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 UnitConfigurationModifier and TypeMethodDescriptionConfiguration.getUnitConfigurations()Returns the list of UnitConfigurations. -
Uses of UnitConfiguration in org.apache.torque.generator.control
Methods in org.apache.torque.generator.control that return UnitConfigurationModifier and TypeMethodDescriptionControllerState.getUnitConfiguration()Returns the configuration of the currently processed generation unit.Methods in org.apache.torque.generator.control with parameters of type UnitConfigurationModifier and TypeMethodDescriptionstatic FileControllerHelper.getOutputFile(String outputDirKey, String outputPath, UnitConfiguration unitConfiguration) Calculates the location of the target file from the file name and the unit configuration.protected voidController.processGenerationUnit(ControllerState controllerState, UnitConfiguration unitConfiguration) Processes a unit of generation.voidControllerState.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 UnitConfigurationModifier and TypeMethodDescriptionvoidAppendToTargetFileStrategy.afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration) Processes the results of the generation.voidExistingTargetStrategy.afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration) Processes the results of the generation.voidMergeTargetFileStrategy.afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration) Processes the results of the generation.voidReplaceTargetFileStrategy.afterGeneration(String outputDirKey, String outputPath, Charset charSet, OutletResult generationResult, UnitConfiguration unitConfiguration) Processes the results of the generation.booleanAppendToTargetFileStrategy.beforeGeneration(String outputDirKey, String outputPath, Charset charSet, UnitConfiguration unitConfiguration) Will be called before the generation is started and decides whether the generation process for this file should proceed.booleanExistingTargetStrategy.beforeGeneration(String outputDirKey, String outputPath, Charset charSet, UnitConfiguration unitConfiguration) Will be called before the generation is started and decides whether the generation process for this file should proceed.booleanMergeTargetFileStrategy.beforeGeneration(String outputDirKey, String outputPath, Charset charSet, UnitConfiguration unitConfiguration) Will be called before the generation is started and decides whether the generation process for this file should proceed.booleanReplaceTargetFileStrategy.beforeGeneration(String outputDirKey, String outputPath, Charset charSet, UnitConfiguration unitConfiguration) Will be called before the generation is started and decides whether the generation process for this file should proceed.booleanSkipExistingTargetFileStrategy.beforeGeneration(String outputDirKey, String outputPath, Charset charSet, 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 UnitConfigurationModifier and TypeMethodDescriptionprotected static ObjectSourceElementToModelTransformer.getInstance(String className, UnitConfiguration unitConfiguration) Creates an instance of a class.