public static List < String > getInstalledPlugins ( ) { final List < Element > plugins = toList ( getPluginConfiguration ( ) . getElementsByTagName ( "plugin" ) ) ; return plugins . stream ( ) . map ( ( Element elem ) -> elem . getAttributeNode ( "id" ) ) . filter ( Objects :: nonNull ) . map ( Attr :: getValue ) . sorted ( ) . collect ( Collectors . toList ( ) ) ; }
Read the list of installed plugins