Class DRLBaseSourceService
- java.lang.Object
-
- org.kie.workbench.common.services.backend.source.BaseSourceService<String>
-
- org.kie.workbench.common.services.backend.source.DRLBaseSourceService
-
- All Implemented Interfaces:
SourceService<String>
public abstract class DRLBaseSourceService extends BaseSourceService<String>
-
-
Constructor Summary
Constructors Constructor Description DRLBaseSourceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSource(org.uberfire.java.nio.file.Path path)StringgetSource(org.uberfire.java.nio.file.Path path, String drl)-
Methods inherited from class org.kie.workbench.common.services.backend.source.BaseSourceService
accepts
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.workbench.common.services.backend.source.SourceService
getPattern
-
-
-
-
Method Detail
-
getSource
public String getSource(org.uberfire.java.nio.file.Path path, String drl)
- Parameters:
path- path to the filedrl- 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.
-
-