com.plugin.development.integration.operator.module.PluginInfo Maven / Gradle / Ivy
package com.plugin.development.integration.operator.module;
import org.pf4j.PluginDescriptor;
import org.pf4j.PluginState;
/**
* 插件信息
* @author zhangzhuo
* @version 1.0
*/
public class PluginInfo {
/**
* 插件基本信息
*/
private PluginDescriptor pluginDescriptor;
/**
* 插件状态
*/
private PluginState pluginState;
/**
* 插件路径
*/
private String path;
public PluginInfo(PluginDescriptor pluginDescriptor, PluginState pluginState, String path) {
this.pluginDescriptor = pluginDescriptor;
this.pluginState = pluginState;
this.path = path;
}
public PluginDescriptor getPluginDescriptor() {
return pluginDescriptor;
}
public String getPluginState() {
return pluginState.toString();
}
public String getPath() {
return path;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy