mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-06-10 19:26:54 +08:00
优化ELBuilder模块的一些api的范围修饰问题
This commit is contained in:
@@ -95,7 +95,10 @@ public abstract class ELWrapper {
|
||||
* @param tag 标记内容
|
||||
* @return {@link ELWrapper}
|
||||
*/
|
||||
protected abstract ELWrapper tag(String tag);
|
||||
public ELWrapper tag(String tag){
|
||||
this.setTag(tag);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置组件的id
|
||||
@@ -103,7 +106,10 @@ public abstract class ELWrapper {
|
||||
* @param id 编号
|
||||
* @return {@link ELWrapper}
|
||||
*/
|
||||
protected abstract ELWrapper id(String id);
|
||||
public ELWrapper id(String id){
|
||||
this.setId(id);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置表达式data属性
|
||||
|
||||
@@ -53,7 +53,7 @@ public class NodeELWrapper extends ELWrapper {
|
||||
* @return {@link NodeELWrapper}
|
||||
*/
|
||||
@Override
|
||||
protected NodeELWrapper id(String id) {
|
||||
public NodeELWrapper id(String id) {
|
||||
this.setId(id);
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user