diff --git a/code-generation/language-python/src/main/java/org/apache/plc4x/language/python/PythonLanguageOutput.java b/code-generation/language-python/src/main/java/org/apache/plc4x/language/python/PythonLanguageOutput.java index fa187f2fd85..cf931494c4d 100644 --- a/code-generation/language-python/src/main/java/org/apache/plc4x/language/python/PythonLanguageOutput.java +++ b/code-generation/language-python/src/main/java/org/apache/plc4x/language/python/PythonLanguageOutput.java @@ -29,43 +29,156 @@ public class PythonLanguageOutput extends FreemarkerLanguageOutput { + /** + * Returns the name of the language, which is used for outputting the generated code. + * + * @return The name of the language. + */ @Override public String getName() { return "Python"; } + /** + * Returns a set of options that are supported by this language output flavor. + * Options are key-value pairs that can be passed to the code generator to customize the generated code. + * + * @return A set of supported options. + */ @Override public Set supportedOptions() { return Collections.singleton("package"); } + + /** + * Returns a list of output flavors that are supported by this language output flavor. + * An output flavor is a customization option that can be passed to the code generator to + * produce code for a specific use case. + * + * @return A list of supported output flavors. + */ @Override public List supportedOutputFlavors() { return Arrays.asList("read-write", "read-only", "passive"); } + /** + * Returns a list of templates that are used to generate a specification of the generated code. + * The specification is usually a markdown file that contains information about the structure of the + * generated code, such as method signatures, comments, and so on. + * + * @return A list of templates that are used to generate the specification. + */ @Override protected List