Kie Workbench - Common - Services API 6.0.0.Final

org.kie.workbench.common.services.backend.source
Class DRLBaseSourceService

java.lang.Object
  extended by org.kie.workbench.common.services.backend.source.BaseSourceService<String>
      extended by org.kie.workbench.common.services.backend.source.DRLBaseSourceService
All Implemented Interfaces:
SourceService<String>

public abstract class DRLBaseSourceService
extends BaseSourceService<String>


Constructor Summary
DRLBaseSourceService()
           
 
Method Summary
 String getSource(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
 

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.

Kie Workbench - Common - Services API 6.0.0.Final

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.