kerry
8 years ago
3 changed files with 0 additions and 46 deletions
@ -1,19 +0,0 @@ |
|||||||
package com.fr.design.fun; |
|
||||||
|
|
||||||
import com.fr.stable.fun.mark.Immutable; |
|
||||||
|
|
||||||
/** |
|
||||||
* Created by Administrator on 2016/8/26. |
|
||||||
*/ |
|
||||||
public interface PluginInstallOptionProcessor extends Immutable { |
|
||||||
|
|
||||||
String MARK_STRING = "PluginInstallOptionProcessor"; |
|
||||||
|
|
||||||
int CURRENT_LEVEL = 1; |
|
||||||
|
|
||||||
/** |
|
||||||
* 安裝插件時的其他操作 |
|
||||||
*/ |
|
||||||
void pluginInstallOption() throws Exception; |
|
||||||
} |
|
||||||
|
|
@ -1,20 +0,0 @@ |
|||||||
package com.fr.design.fun.impl; |
|
||||||
|
|
||||||
import com.fr.design.fun.PluginInstallOptionProcessor; |
|
||||||
import com.fr.stable.fun.mark.API; |
|
||||||
|
|
||||||
/** |
|
||||||
* Created by Administrator on 2016/8/26. |
|
||||||
*/ |
|
||||||
@API(level = PluginInstallOptionProcessor.CURRENT_LEVEL) |
|
||||||
public abstract class AbstractPluginInstallOptionProcessor implements PluginInstallOptionProcessor{ |
|
||||||
public int currentAPILevel() { |
|
||||||
return CURRENT_LEVEL; |
|
||||||
} |
|
||||||
|
|
||||||
public int layerIndex() { |
|
||||||
return DEFAULT_LAYER_INDEX; |
|
||||||
} |
|
||||||
|
|
||||||
|
|
||||||
} |
|
Loading…
Reference in new issue