用法
抽象类
Usages
- Used to extend support for processing Hash Variables.
- A useable Hash Variable plugin must extends Hash Variable Plugin abstract class.
...
org.joget.apps.app.model.DefaultHashVariablePlugin
- Under wflow在wflow-core modulecore模块下
- Extended org扩展org.joget.plugin.base.ExtDefaultPlugin. Please refer to Plugin Base Abstract Class and Interface.ExtDefaultPlugin。请参考 插件基础抽象类和接口。
- 实现了orgImplemented 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.
Method Detail
...
- PropertyEditable。请参考 插件基础抽象类和接口。
- 一个开发哈希变量插件的基础抽象类。
方法详细
抽象方法
getPrefix
public abstract java.lang.String getPrefix()getPrefix()
哈希变量的前缀用作标识符 Prefix of a Hash Variable use as identifier
processHashVariable
public abstract java.lang.String processHashVariable(javaprocessHashVariable(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.
...
variableKey)
处理哈希变量并返回一个值来替换哈希变量。
返回 Null以跳过替换哈希变量。
可覆盖的方法
escapeHashVariable
public java.lang.String escapeHashVariable(javaescapeHashVariable(java.lang.String variable)variable)
escape特殊字符的值。默认为在值中转义正则表达式Escape special character in the value. Default to escape Regex in the value
availableSyntax
public java.util.Collection<javaCollection <java.lang.String> availableSyntax()
List the possible syntax combination to populate in Hash Variable Assistants in Property Editor. Default to "prefix.KEY".
Plugin Properties Options
Tutorials
availableSyntax()
列出可能的语法组合以在属性编辑器中填充哈希变量。默认为“ 前缀 .KEY”。
插件属性选项
教程
相关社区插件
- 应用消息哈希变量App Message Hash Variable
org.joget.apps.app.lib.AppMessageHashVariable (wflow-core) Current User Hash VariableAppMessageHashVariable(wflow-core) - 当前用户哈希变量
org.joget.apps.app.lib.CurrentUserHashVariable (wflow-core)CurrentUserHashVariable(wflow-core) - 日期哈希变量 Date Hash Variable
org.joget.apps.app.lib.DateHashVariable (wflow-core) Environment Variable Hash VariableDateHashVariable(wflow-core) - 环境变量哈希变量
org.joget.apps.app.lib.EnvironmentVariableHashVariable (wflow-core) EnvironmentVariableHashVariable(wflow-core) - 表单数据哈希变量Form Data Hash Variable
org.joget.apps.app.lib.FormHashVariable (wflow-core) FormHashVariable(wflow-core) - Performer Hash Variable哈希变量
org.joget.apps.app.lib.PerformerHashVariable (wflow-core) Request Hash VariablePerformerHashVariable(wflow-core) - 请求哈希变量
org.joget.apps.app.lib.RequestHashVariable (wflow-core) Request Parameter Hash VariableRequestHashVariable(wflow-core) - 请求参数哈希变量
org.joget.apps.app.lib.RequestParameterHashVariable (wflow-core)RequestParameterHashVariable(wflow-core) - 用户哈希变量 User Hash Variable
org.joget.apps.app.lib.UserHashVariable (wflow-core) User Variable Hash VariableUserHashVariable(wflow-core) - 用户变量哈希变量
org.joget.apps.app.lib.UserVariableHashVariable (wflow-core) UserVariableHashVariable(wflow-core) - 工作流分配哈希变量Workflow Assignment Hash Variable
org.joget.apps.app.lib.WorkflowAssignmentHashVariable (wflow-core) Workflow Variable Hash VariableWorkflowAssignmentHashVariable(wflow-core) - 工作流变量哈希变量
org.joget.apps.app.lib.WorkflowVariableHashVariable (wflow-core) WorkflowVariableHashVariable(wflow-core)