org.drools.workbench.screens.guided.rule.backend.server
Class GuidedRuleDSLRSourceService
java.lang.Object
org.kie.workbench.common.services.backend.source.BaseSourceService<org.drools.workbench.models.datamodel.rule.RuleModel>
org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleDSLRSourceService
- All Implemented Interfaces:
- org.kie.workbench.common.services.backend.source.SourceService<org.drools.workbench.models.datamodel.rule.RuleModel>
@ApplicationScoped
public class GuidedRuleDSLRSourceService
- extends org.kie.workbench.common.services.backend.source.BaseSourceService<org.drools.workbench.models.datamodel.rule.RuleModel>
|
Method Summary |
org.drools.compiler.lang.Expander |
getDSLExpander(org.uberfire.java.nio.file.Path path)
Returns an expander for DSLs (only if there is a DSL configured for this package). |
String |
getPattern()
|
String |
getSource(org.uberfire.java.nio.file.Path path,
org.drools.workbench.models.datamodel.rule.RuleModel model)
|
| 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 |
GuidedRuleDSLRSourceService
public GuidedRuleDSLRSourceService()
getPattern
public String getPattern()
getSource
public String getSource(org.uberfire.java.nio.file.Path path,
org.drools.workbench.models.datamodel.rule.RuleModel model)
getDSLExpander
public org.drools.compiler.lang.Expander getDSLExpander(org.uberfire.java.nio.file.Path path)
- Returns an expander for DSLs (only if there is a DSL configured for this package).
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.