Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Extend the way to generate/scaffolding work for app based on current working form in Form Builder - Generate App.
A useable Generator plugin must extends org.joget.apps.generator.model.GeneratorPlugin abstract class.
Under wflow-core module
Extended org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.
Implemented org.joget.plugin.property.model.PropertyEditable. Please refer to Plugin Base Abstract Class and Interface.
A base abstract class to develop a Generator plugin.
public abstract org.joget.apps.generator.model.GeneratorResult generate()
Execute the generator to generate/scaffolding work for app based on current working form. Please utilize GeneratorUtil in the generation logic.
public abstract java.lang.String getExplanation()
Gets the explanation and usage for this generator to display for admin user
public boolean isDisabled()
public java.lang.String getFormId()
Gets the current working form id.
public void setFormId(java.lang.String formId)
Sets the current working form id.
public org.joget.apps.app.model.AppDefinition getAppDefinition()
Gets the current working App Definition
public void setAppDefinition(org.joget.apps.app.model.AppDefinition appDef)
Sets the current working App Definition
public java.lang.String getDefaultPropertyValues()
Convenience method to get default properties from Plugin Properties Options
Please refer to Plugin Properties Options for more information.
Not available