Add implementation of PluginApi
- install - get status - enable - disable - reload Change-Id: I62fdc63372918a7e63760f4ea49b203d7fcb244d
This commit is contained in:
@@ -55,7 +55,11 @@ public class PluginsCollection
|
||||
@Override
|
||||
public PluginResource parse(TopLevelResource parent, IdString id)
|
||||
throws ResourceNotFoundException {
|
||||
Plugin p = loader.get(id.get());
|
||||
return parse(id.get());
|
||||
}
|
||||
|
||||
public PluginResource parse(String id) throws ResourceNotFoundException {
|
||||
Plugin p = loader.get(id);
|
||||
if (p == null) {
|
||||
throw new ResourceNotFoundException(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user