Klasse ApiTranspilerTypeScriptPlugin
java.lang.Object
de.svws_nrw.transpiler.TranspilerLanguagePlugin
de.svws_nrw.transpiler.typescript.ApiTranspilerTypeScriptPlugin
This is the OpenAPI transpiler language plugin for Type Script.
-
Feldübersicht
Von Klasse geerbte Felder de.svws_nrw.transpiler.TranspilerLanguagePlugin
outputFiles, outputFilesTypeOnly, transpiler
-
Konstruktorübersicht
KonstruktorBeschreibungApiTranspilerTypeScriptPlugin
(Transpiler transpiler, String outputDir) Create a Type Script api transpiler language plugin -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
setIgnoreJavaPackagePrefix
(String prefix) Sets the configuration parameter for the prefix part of the java packages to be ignored while creating the sub directories for the Type Script output.void
This method is invoked by the transpiler to start the transpiling process for this language plugin.Von Klasse geerbte Methoden de.svws_nrw.transpiler.TranspilerLanguagePlugin
getOutputFiles, getOutputFilesTypeOnly, getTranspiler
-
Felddetails
-
indentC
public int indentCthe indentation state used during transpilation
-
-
Konstruktordetails
-
ApiTranspilerTypeScriptPlugin
Create a Type Script api transpiler language plugin- Parameter:
transpiler
- the transpiler that uses this pluginoutputDir
- the output directory where all generated files should be placed
-
-
Methodendetails
-
setIgnoreJavaPackagePrefix
Sets the configuration parameter for the prefix part of the java packages to be ignored while creating the sub directories for the Type Script output.- Parameter:
prefix
- the prefix part of the java package to be ignored
-
transpile
public void transpile()Beschreibung aus Klasse kopiert:TranspilerLanguagePlugin
This method is invoked by the transpiler to start the transpiling process for this language plugin. It must be implemented by the language plugin.- Angegeben von:
transpile
in KlasseTranspilerLanguagePlugin
-