mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-14 19:45:08 +08:00
23 lines
563 B
Java
23 lines
563 B
Java
package vip.mate.plugin;
|
|
|
|
import lombok.Data;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
/**
|
|
* Plugin SDK configuration properties.
|
|
*
|
|
* @author MateClaw Team
|
|
*/
|
|
@Data
|
|
@Component
|
|
@ConfigurationProperties(prefix = "mateclaw.plugin")
|
|
public class PluginProperties {
|
|
|
|
/** Whether the plugin system is enabled */
|
|
private boolean enabled = true;
|
|
|
|
/** User-global plugin directory */
|
|
private String userDir = System.getProperty("user.home") + "/.mateclaw/plugins";
|
|
}
|