@Test void getId() { String uri = PluginController.PLUGIN_URI_PREFIX + "test"; PluginController molgenisPlugin = new PluginController(uri) {}; assertEquals("test", molgenisPlugin.getId()); }
public String getId() { return uri.substring(PLUGIN_URI_PREFIX.length()); }
PluginController { public String getId() { return uri.substring(PLUGIN_URI_PREFIX.length()); } }
PluginController { public String getId() { return uri.substring(PLUGIN_URI_PREFIX.length()); } PluginController(String uri); }
PluginController { public String getId() { return uri.substring(PLUGIN_URI_PREFIX.length()); } PluginController(String uri); String getUri(); String getId(); @SuppressWarnings("WeakerAccess") Entity getPluginSettings(); }
PluginController { public String getId() { return uri.substring(PLUGIN_URI_PREFIX.length()); } PluginController(String uri); String getUri(); String getId(); @SuppressWarnings("WeakerAccess") Entity getPluginSettings(); static final String PLUGIN_URI_PREFIX; }