Klasse SourceProcessConfiguration
java.lang.Object
org.apache.torque.generator.source.SourceProcessConfiguration
Contains the information how a source should be processed between
obtaining the original source and feeding it to the outlets.
- Version:
- $Id: SourceProcessConfiguration.java 1840416 2018-09-09 15:10:22Z tv $
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the current SkipDecider.Returns the path to elements which should be used as starting points for generation.Return all currently registered source transformer definitions.void
setSkipDecider
(String skipDecider, UnitDescriptor unitDescriptor) Sets and instantiates the source filter class.void
setSourceTransformerDefinitions
(List<SourceTransformerDefinition> transformerDefinitions) Sets the transformer definitions.void
setStartElementsPath
(String startElementsPath) Sets the start element path.
-
Konstruktordetails
-
SourceProcessConfiguration
public SourceProcessConfiguration()
-
-
Methodendetails
-
setStartElementsPath
Sets the start element path.- Parameter:
startElementsPath
- the path to the elements which are used as starting points for generation, or null if the root element should be used.
-
setSkipDecider
public void setSkipDecider(String skipDecider, UnitDescriptor unitDescriptor) throws ConfigurationException Sets and instantiates the source filter class.- Parameter:
skipDecider
- the fully qualified name of a class which determines whether a particular source is skipped, or null if every source should be used.unitDescriptor
- The description of the generation unit, not null.- Löst aus:
ConfigurationException
- if the class cannot be instantiated or does not implement theSkipDecider
interface.
-
setSourceTransformerDefinitions
public void setSourceTransformerDefinitions(List<SourceTransformerDefinition> transformerDefinitions) Sets the transformer definitions.- Parameter:
transformerDefinitions
- the transformer definitions, or null if the input should not be transformed before generation.
-
getStartElementsPath
Returns the path to elements which should be used as starting points for generation.- Gibt zurück:
- the elements to use, or null, in which case the root element is used.
-
getTransformerDefinitions
Return all currently registered source transformer definitions.- Gibt zurück:
- the source transformer definitions, not null.
-
getSkipDecider
Returns the current SkipDecider.- Gibt zurück:
- the current SkipDecider, or null if the generation should always be started for all source files.
-