get Portal
Returns a Portal object given the name of the portal. If the portal does not exist, an exception is thrown.
Example usage (kotlin):
val portal: Portal = PortalManager.getPortal("my_portal")
Content copied to clipboard
Example usage (java):
Portal portal = PortalManager.getPortal("my_portal");
Content copied to clipboard
Parameters
name
the portal name
Throws
No Such Element Exception
throws this exception if the Portal does not exist