Package | Description |
---|---|
org.apache.torque.generator.control.action |
This package defines and implements mergepoint actions.
|
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.outlet |
This package defines torque generator outlets which produce output
snippets from the source.
|
org.apache.torque.generator.outlet.copy |
This package defines and implements copy outlets.
|
org.apache.torque.generator.outlet.java |
This package defines java outlets and provides some implementations.
|
org.apache.torque.generator.template.groovy |
This package contains the handling of groovy outlets in the
Torque generator.
|
org.apache.torque.generator.template.velocity |
This package contains the handling of velocity outlets in the
Torque generator.
|
Modifier and Type | Method and Description |
---|---|
OutletResult |
ApplyAction.execute(ControllerState controllerState)
Applies an outlet to the matching element.
|
OutletResult |
MergepointAction.execute(ControllerState controllerState)
Executes the action.
|
OutletResult |
OptionAction.execute(ControllerState controllerState)
Returns the value of the configured option.
|
OutletResult |
OutputAction.execute(ControllerState controllerState)
Returns the value.
|
OutletResult |
SourceElementAttributeAction.execute(ControllerState controllerState)
Returns the value of the configured attribute of the configured source
element.
|
OutletResult |
TraverseAllAction.execute(ControllerState controllerState)
Traverses all matching elements, and applies an outlet to each matching
element.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static OutletResult |
OutletResult.concatenate(Iterable<OutletResult> input)
Concatenates a list of OutletResults.
|
static OutletResult |
OutletResult.concatenate(OutletResult... input)
Concatenates an array of OutletResults.
|
OutletResult |
DebuggingOutletWrapper.execute(ControllerState controllerState)
Executes the delegate generation and adds debugging output
before and after the generated content, if the result is a String result.
|
OutletResult |
Outlet.execute(ControllerState controllerState)
Generates the output for this template into the Generated object.
|
abstract OutletResult |
OutletImpl.execute(ControllerState controllerState) |
Modifier and Type | Method and Description |
---|---|
static OutletResult |
OutletResult.concatenate(OutletResult... input)
Concatenates an array of OutletResults.
|
Modifier and Type | Method and Description |
---|---|
static OutletResult |
OutletResult.concatenate(Iterable<OutletResult> input)
Concatenates a list of OutletResults.
|
Modifier and Type | Method and Description |
---|---|
OutletResult |
CopyOutlet.execute(ControllerState controllerState)
Executes the generation process; the result is returned.
|
Modifier and Type | Method and Description |
---|---|
OutletResult |
CamelbackOutlet.execute(ControllerState controllerState)
Processes the input according to the camelback rules.
|
OutletResult |
ConstantNameOutlet.execute(ControllerState controllerState)
Processes the input according to the camelback rules.
|
OutletResult |
JavadocOutlet.execute(ControllerState controllerState) |
OutletResult |
JavaFilenameOutlet.execute(ControllerState controllerState) |
OutletResult |
ModifySourcenameOutlet.execute(ControllerState controllerState) |
OutletResult |
NewlineOutlet.execute(ControllerState controllerState) |
OutletResult |
OptionOutlet.execute(ControllerState controllerState) |
OutletResult |
PackageToPathOutlet.execute(ControllerState controllerState)
Reads the input and replaces all dots by slashes.
|
OutletResult |
XmlOutlet.execute(ControllerState controllerState) |
Modifier and Type | Method and Description |
---|---|
OutletResult |
GroovyOutlet.execute(ControllerState controllerState)
Executes the generation process; the result is returned.
|
Modifier and Type | Method and Description |
---|---|
OutletResult |
VelocityOutlet.execute(ControllerState controllerState)
Executes the generation process; the result is returned.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.