Class DRLBaseSourceService

    • Constructor Detail

      • DRLBaseSourceService

        public DRLBaseSourceService()
    • Method Detail

      • getSource

        public String getSource​(org.uberfire.java.nio.file.Path path,
                                String drl)
        Parameters:
        path - path to the file
        drl - the current model. Originally loaded from the file, but the content might have changed.
        Returns:
        Source generated from the model, not from the file that the path points to.
      • getSource

        public String getSource​(org.uberfire.java.nio.file.Path path)
        Parameters:
        path - path to the file
        Returns:
        Source generated from the model, that the path points to.