@ SuppressWarnings ( "WeakerAccess" ) public Entity getPluginSettings ( ) { String entityTypeId = DefaultSettingsEntityType . getSettingsEntityName ( getId ( ) ) ; return RunAsSystemAspect . runAsSystem ( ( ) -> getPluginSettings ( entityTypeId ) ) ; }
Returns an entity containing settings for a plugin or null if no settings exist .