Verwendungen von Klasse
org.apache.torque.generator.control.ControllerState
Packages, die ControllerState verwenden
Package
Beschreibung
This package implements the torque generator Controller .
This package defines and implements mergepoint actions.
This package defines torque generator outlets which produce output
snippets from the source.
This package defines and implements copy outlets.
This package defines java outlets and provides some implementations.
This package contains the handling of source files.
This package implements sources which read from jdbc.
This package contains the definition and implementations of source
filters.
This package contains the handling of stream-based sources,
such as file sources.
This package contains the definition of source transformers
and some implementations.
This package contains the handling of template-based outlets
in the Torque generator.
This package contains the handling of groovy outlets in the
Torque generator.
This package contains the handling of velocity outlets in the
Torque generator.
-
Verwendungen von ControllerState in org.apache.torque.generator.control
Methoden in org.apache.torque.generator.control mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungprotected void
Controller.createOutputFilename
(Output output, ControllerState controllerState) Creates the output file name and sets it in the output.protected void
Controller.processGenerationUnit
(ControllerState controllerState, UnitConfiguration unitConfiguration) Processes a unit of generation.Controller.transformSource
(Object sourceRoot, List<SourceTransformerDefinition> transformerDefinitions, ControllerState controllerState) Applies all transformer definitions to the current source.Konstruktoren in org.apache.torque.generator.control mit Parametern vom Typ ControllerState -
Verwendungen von ControllerState in org.apache.torque.generator.control.action
Methoden in org.apache.torque.generator.control.action mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungApplyAction.execute
(ControllerState controllerState) Applies an outlet to the matching element.MergepointAction.execute
(ControllerState controllerState) Executes the action.OptionAction.execute
(ControllerState controllerState) Returns the value of the configured option.OutputAction.execute
(ControllerState controllerState) Returns the value. ${...}SourceElementAttributeAction.execute
(ControllerState controllerState) Returns the value of the configured attribute of the configured source element. ${...}TraverseAllAction.execute
(ControllerState controllerState) Traverses all matching elements, and applies an outlet to each matching element. -
Verwendungen von ControllerState in org.apache.torque.generator.outlet
Methoden in org.apache.torque.generator.outlet mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungvoid
DebuggingOutletWrapper.afterExecute
(ControllerState controllerState) Calls the afterExecute method in the delegate.void
Outlet.afterExecute
(ControllerState controllerState) Adjusts the state of the Controller after generation.void
OutletImpl.afterExecute
(ControllerState controllerState) void
DebuggingOutletWrapper.beforeExecute
(ControllerState controllerState) Calls the beforeExecute method in the delegate.void
Outlet.beforeExecute
(ControllerState controllerState) Adjusts the state of the Controller before generation.void
OutletImpl.beforeExecute
(ControllerState controllerState) 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.Outlet.execute
(ControllerState controllerState) Generates the output for this template into the Generated object.abstract OutletResult
OutletImpl.execute
(ControllerState controllerState) protected String
DebuggingOutletWrapper.getCommentAtEnd
(ControllerState controllerState) Returns the debug information to be added at the end of the outlet's output.protected String
DebuggingOutletWrapper.getCommentAtStart
(ControllerState controllerState) Returns the debug information to be added at the start of the outlet's output.OutletImpl.getVariable
(String key, ControllerState controllerState) Returns the variable with the given key.OutletImpl.mergepoint
(String mergepointName, ControllerState controllerState) Processes the mergepoint with the given name.void
OutletImpl.setVariable
(String key, Object value, ControllerState controllerState) Sets a variable.void
OutletImpl.setVariable
(String key, Object value, Variable.Scope scope, ControllerState controllerState) Sets a variable. -
Verwendungen von ControllerState in org.apache.torque.generator.outlet.copy
Methoden in org.apache.torque.generator.outlet.copy mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungCopyOutlet.execute
(ControllerState controllerState) Executes the generation process; the result is returned. -
Verwendungen von ControllerState in org.apache.torque.generator.outlet.java
Methoden in org.apache.torque.generator.outlet.java mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungCamelbackOutlet.execute
(ControllerState controllerState) Processes the input according to the camelback rules.ConstantNameOutlet.execute
(ControllerState controllerState) Processes the input according to the camelback rules.JavadocOutlet.execute
(ControllerState controllerState) JavaFilenameOutlet.execute
(ControllerState controllerState) ModifySourcenameOutlet.execute
(ControllerState controllerState) NewlineOutlet.execute
(ControllerState controllerState) OptionOutlet.execute
(ControllerState controllerState) PackageToPathOutlet.execute
(ControllerState controllerState) Reads the input and replaces all dots by slashes.XmlOutlet.execute
(ControllerState controllerState) static String
OutletUtils.getFromDifferentPlaces
(String presetValue, String optionName, String variableName, String sourceElementName, String sourceElementAttribute, ControllerState controllerState, Class<?> clazz, String expectedFieldNames) Retrieve a value from either a preset value, an option, a variable, or a source element attribute.protected String
StringInputOutlet.getInput
(ControllerState controllerState) Retrieves the input from the different possibilities nputValue, inputOption, inputVariable, or inputSourceElement.static String
OutletUtils.getOption
(String optionName, ControllerState controllerState, Class<?> clazz) Reads an option with a given name.static String
OutletUtils.getSourceElementAttribute
(String elementName, String attributeName, ControllerState controllerState, Class<?> clazz) Retrieves the value of a source element attribute. -
Verwendungen von ControllerState in org.apache.torque.generator.source
Methoden in org.apache.torque.generator.source mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungfinal void
SourceProvider.init
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) Initializes the source provider.protected abstract void
SourceProvider.initInternal
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) Initializes the sources provided by this SourceProvider.final void
SourceProvider.reset
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) Resets the source provider.protected abstract void
SourceProvider.resetInternal
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) Resets the sources provided by this SourceProvider. -
Verwendungen von ControllerState in org.apache.torque.generator.source.jdbc
Methoden in org.apache.torque.generator.source.jdbc mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungvoid
JdbcMetadataSourceProvider.initInternal
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) protected void
JdbcMetadataSourceProvider.resetInternal
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) -
Verwendungen von ControllerState in org.apache.torque.generator.source.skipDecider
Methoden in org.apache.torque.generator.source.skipDecider mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungboolean
SkipDecider.proceed
(ControllerState controllerState) Decides whether the source file should be skipped and not used for generation.boolean
StopGenerationDecider.proceed
(ControllerState controllerState) Decides whether generation should proceed. -
Verwendungen von ControllerState in org.apache.torque.generator.source.stream
Methoden in org.apache.torque.generator.source.stream mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungprotected void
FileSourceProvider.initInternal
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) Determines the files which match the source fileset.PropertiesSourceFormat.parse
(InputStream inputStream, ControllerState controllerState) Parses a Stream in Properties format and returns the root element of the created element tree.StreamSourceFormat.parse
(InputStream inputStream, ControllerState controllerState) Parses a source file and returns its root element.XmlSourceFormat.parse
(InputStream xmlStream, ControllerState controllerState) Parses a stream containing xml data and creates a source element hierarchy from it.void
FileSourceProvider.resetInternal
(ConfigurationHandlers configurationHandlers, ControllerState controllerState) Konstruktoren in org.apache.torque.generator.source.stream mit Parametern vom Typ ControllerStateModifiziererKonstruktorBeschreibungFileSource
(StreamSourceFormat format, File path, ControllerState controllerState) Constructor. -
Verwendungen von ControllerState in org.apache.torque.generator.source.transform
Methoden in org.apache.torque.generator.source.transform mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungAttributeTransformer.transform
(Object toTransform, ControllerState controllerState) Adds attributes to the sourceElement according to the transformDefinition.BeanPropertyMethodNameTransformer.transform
(Object rootObject, ControllerState controllerState) Fills the target attribute according to the settings.CopyAttributeTransformer.transform
(Object rootObject, ControllerState controllerState) Fills the target attribute according to the settings.GetterSetterNameTransformer.transform
(Object rootObject, ControllerState controllerState) Fills the target attributes according to the settings.LoadAdditionalSourceTransformer.transform
(Object rootObject, ControllerState controllerState) Loads the additional source into the current source graph.LoadAllSourceFilesTransformer.transform
(Object rootObject, ControllerState controllerState) Loads the additional source into the current source graph.SourceElementToModelTransformer.transform
(Object modelRoot, ControllerState controllerState) abstract Object
SourceTargetAttributeTransformer.transform
(Object toTransformRoot, ControllerState controllerState) Performs the transformation.SourceTransformer.transform
(Object modelRoot, ControllerState controllerState) Transforms one source root into another source root. -
Verwendungen von ControllerState in org.apache.torque.generator.template
Methoden in org.apache.torque.generator.template mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungTemplateOutlet.getContent
(ControllerState controllerState) Returns the contents as a Template as a String.TemplateOutletImpl.getContent
(ControllerState controllerState) protected String
TemplateOutletImpl.getDetokenizedPath
(ControllerState controllerState) -
Verwendungen von ControllerState in org.apache.torque.generator.template.groovy
Methoden in org.apache.torque.generator.template.groovy, die ControllerState zurückgebenModifizierer und TypMethodeBeschreibungTorqueGenGroovy.getControllerState()
Returns the current controller state.Methoden in org.apache.torque.generator.template.groovy mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungGroovyOutlet.createBinding
(ControllerState controllerState) GroovyOutlet.execute
(ControllerState controllerState) Executes the generation process; the result is returned.protected abstract String
GroovyOutlet.executeGroovy
(Map<String, Object> binding, ControllerState controllerState) Executes the Groovy script or template and retuns the reult.protected String
GroovyScriptOutlet.executeGroovy
(Map<String, Object> binding, ControllerState controllerState) protected String
GroovyTemplateOutlet.executeGroovy
(Map<String, Object> binding, ControllerState controllerState) Konstruktoren in org.apache.torque.generator.template.groovy mit Parametern vom Typ ControllerStateModifiziererKonstruktorBeschreibungTorqueGenGroovy
(GroovyOutlet outlet, ControllerState controllerState) Constructs a generator interface within the given controllerState. -
Verwendungen von ControllerState in org.apache.torque.generator.template.velocity
Methoden in org.apache.torque.generator.template.velocity, die ControllerState zurückgebenModifizierer und TypMethodeBeschreibungTorqueGenVelocity.getControllerState()
Returns the current controller state.Methoden in org.apache.torque.generator.template.velocity mit Parametern vom Typ ControllerStateModifizierer und TypMethodeBeschreibungVelocityOutlet.execute
(ControllerState controllerState) Executes the generation process; the result is returned.Konstruktoren in org.apache.torque.generator.template.velocity mit Parametern vom Typ ControllerStateModifiziererKonstruktorBeschreibungTorqueGenVelocity
(VelocityOutlet outlet, ControllerState controllerState) Constructs a generator interface within the given controllerState.