add Plugin
Add a plugin to be loaded with the Portal.
Example usage (kotlin):
builder = builder.addPlugin(MyPlugin::class.java)
Content copied to clipboard
Example usage (java):
builder = builder.addPlugin(MyPlugin.class);
Content copied to clipboard
Return
the instance of the PortalBuilder with the plugin added
Parameters
plugin
the plugin class to add to the portal