You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
841 B
43 lines
841 B
package com.fr.design.fun; |
|
|
|
import com.fr.file.filetree.FileNodes; |
|
import com.fr.stable.fun.mark.Immutable; |
|
import com.fr.workspace.resource.WorkResource; |
|
import com.fr.workspace.server.lock.TplOperator; |
|
|
|
/** |
|
* 本地资源操作插件接口 |
|
* |
|
* @author hades |
|
* @version 10.0 |
|
* Created by hades on 2020/12/22 |
|
*/ |
|
public interface LocalResourceProvider extends Immutable { |
|
|
|
String XML_TAG = "LocalResourceProvider"; |
|
|
|
int CURRENT_LEVEL = 1; |
|
|
|
/** |
|
* eg: FineWorkResource |
|
* |
|
* @return 目录/文件的操作方式 |
|
*/ |
|
WorkResource createResource(); |
|
|
|
|
|
/** |
|
* eg: LocalFileNodes |
|
* |
|
* @return 构建目录树的方式 |
|
*/ |
|
FileNodes createFileNodes(); |
|
|
|
/** |
|
* eg:LocalTplOperator |
|
* |
|
* 模板操作 关闭/打开等操作 |
|
*/ |
|
TplOperator createTplOperator(); |
|
|
|
}
|
|
|