Skip to content
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

Merged
merged 2 commits into from
May 27, 2015
Merged

Add Plugin status provider #40

merged 2 commits into from
May 27, 2015

Conversation

lightglitch
Copy link
Contributor

No description provided.

@buildhive
Copy link

Decebal Suiu » pf4j #96 SUCCESS
This pull request looks good
(what's this?)

@decebals
Copy link
Member

Can you please describe in few words your use case or the user case resolved by this PR?

@lightglitch
Copy link
Contributor Author

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() {
Copy link
Member

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.

Copy link
Contributor Author

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.

@lightglitch
Copy link
Contributor Author

Updated.

@buildhive
Copy link

Decebal Suiu » pf4j #99 SUCCESS
This pull request looks good
(what's this?)

decebals added a commit that referenced this pull request May 27, 2015
@decebals decebals merged commit 56ac163 into pf4j:master May 27, 2015
@decebals
Copy link
Member

👍 Good job. Thanks

@lightglitch lightglitch deleted the plugin-status-provider branch May 27, 2015 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants