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>
-
-
Constructor Summary
Constructors Constructor Description GuidedRuleDSLRSourceService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPattern()StringgetSource(org.uberfire.java.nio.file.Path path)StringgetSource(org.uberfire.java.nio.file.Path path, org.drools.workbench.models.datamodel.rule.RuleModel model)
-
-
-
Method Detail
-
getPattern
public String getPattern()
-
getSource
public String getSource(org.uberfire.java.nio.file.Path path, org.drools.workbench.models.datamodel.rule.RuleModel model) throws org.kie.workbench.common.services.shared.source.SourceGenerationFailedException
- Throws:
org.kie.workbench.common.services.shared.source.SourceGenerationFailedException
-
getSource
public String getSource(org.uberfire.java.nio.file.Path path) throws org.kie.workbench.common.services.shared.source.SourceGenerationFailedException
- Throws:
org.kie.workbench.common.services.shared.source.SourceGenerationFailedException
-
-