-
-
Notifications
You must be signed in to change notification settings - Fork 560
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Plugin status provider #40
Conversation
Decebal Suiu » pf4j #96 SUCCESS |
Can you please describe in few words your use case or the user case resolved by this PR? |
I want the plugins enable/disable configuration to be fetch from a database, this allows the user to change this configuration in the interface. |
@@ -658,6 +658,37 @@ protected PluginClasspath createPluginClasspath() { | |||
return new PluginClasspath(); | |||
} | |||
|
|||
protected PluginStatusProvider createPluginStatusProvider() { | |||
return new PluginStatusProvider() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My idea is to move the default implementation in a DefaultPluginStatusProvider
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will update that.
Updated. |
Decebal Suiu » pf4j #99 SUCCESS |
👍 Good job. Thanks |
No description provided.