Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Used to extend support for processing Hash Variables.
A usable Hash Variable plugin must extend org.joget.apps.app.model.DefaultHashVariablePlugin 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 Hash Variable plugin.
public abstract java.lang.String getPrefix()
Prefix of a Hash Variable use as identifier
public abstract java.lang.String processHashVariable(java.lang.String variableKey)
Processing the Hash Variable and return a value to replace the Hash Variable.
Return Null to skip the replacement of Hash Variable.
public java.lang.String escapeHashVariable(java.lang.String variable)
Escape special character in the value. Default to escape Regex in the value
public java.util.Collection<java.lang.String> availableSyntax()
List the possible syntax combination to populate in Hash Variable Assistants in Property Editor. Default to "prefix.KEY".