Browse Source
Merge in DESIGN/design from ~JOHN.YING/design:feature/x to feature/x * commit 'f04b2e44f06d000cbcb97256e61d338bdcfec8ac': REPORT-94530 【二开接口】转换用户名接口--调整一下接口位置 REPORT-94530 【二开接口】转换用户名接口--格式调整 REPORT-94530 【二开接口】转换用户名接口--注释 REPORT-94530 【二开接口】转换用户名接口--注释 REPORT-94530 【二开接口】转换用户名接口 REPORT-94530 【二开接口】转换用户名接口 REPORT-94530 【二开接口】转换用户名接口feature/x
John.Ying-应志浩
2 years ago
5 changed files with 93 additions and 3 deletions
@ -0,0 +1,24 @@ |
|||||||
|
package com.fr.design.env.processor; |
||||||
|
|
||||||
|
import com.fr.stable.fun.mark.API; |
||||||
|
|
||||||
|
|
||||||
|
/** |
||||||
|
* 远程设计自定义用户名接口实现抽象类 |
||||||
|
* |
||||||
|
* @author John.Ying |
||||||
|
* @since 11.0 |
||||||
|
* Created on 2023/5/17 |
||||||
|
*/ |
||||||
|
@API(level = RemoteDesignerWorkspaceInfoProcessor.CURRENT_LEVEL) |
||||||
|
public abstract class AbstractRemoteDesignerWorkspaceInfoProcessor implements RemoteDesignerWorkspaceInfoProcessor { |
||||||
|
@Override |
||||||
|
public int currentAPILevel() { |
||||||
|
return CURRENT_LEVEL; |
||||||
|
} |
||||||
|
|
||||||
|
@Override |
||||||
|
public int layerIndex() { |
||||||
|
return DEFAULT_LAYER_INDEX; |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,25 @@ |
|||||||
|
package com.fr.design.env.processor; |
||||||
|
|
||||||
|
import com.fr.stable.fun.mark.Immutable; |
||||||
|
import com.fr.workspace.connect.WorkspaceConnectionInfo; |
||||||
|
|
||||||
|
/** |
||||||
|
* 远程设计自定义用户名接口 |
||||||
|
* px:为了二开插件开的接口,不建议实现,后面可能会变动 |
||||||
|
* |
||||||
|
* @author John.Ying |
||||||
|
* @since 11.0 |
||||||
|
* Created on 2023/5/17 |
||||||
|
*/ |
||||||
|
public interface RemoteDesignerWorkspaceInfoProcessor extends Immutable { |
||||||
|
|
||||||
|
String XML_TAG = "RemoteDesignerWorkspaceInfoProcessor"; |
||||||
|
|
||||||
|
int CURRENT_LEVEL = 1; |
||||||
|
|
||||||
|
/** |
||||||
|
* 根据链接信息自定义用户名 |
||||||
|
*/ |
||||||
|
WorkspaceConnectionInfo customUserName(WorkspaceConnectionInfo workspaceInfo); |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue