@ApplicationScoped public class ScenarioTestEditorServiceImpl extends org.kie.workbench.common.services.backend.service.KieService<TestScenarioModelContent> implements ScenarioTestEditorService
commentAddedEvent, metadataService, pathResolver, projectService, sourceServicesTEST_SCENARIO_EDITOR_MAX_RULE_FIRINGS, TEST_SCENARIO_EDITOR_SETTINGS| Constructor and Description |
|---|
ScenarioTestEditorServiceImpl() |
ScenarioTestEditorServiceImpl(org.uberfire.rpc.SessionInfo sessionInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected TestScenarioModelContent |
constructContent(org.uberfire.backend.vfs.Path path,
org.guvnor.common.services.shared.metadata.model.Overview overview) |
org.uberfire.backend.vfs.Path |
copy(org.uberfire.backend.vfs.Path path,
String newName,
org.uberfire.backend.vfs.Path targetDirectory,
String comment) |
org.uberfire.backend.vfs.Path |
copy(org.uberfire.backend.vfs.Path path,
String newName,
String comment) |
org.uberfire.backend.vfs.Path |
create(org.uberfire.backend.vfs.Path context,
String fileName,
org.drools.workbench.models.testscenarios.shared.Scenario content,
String comment) |
void |
delete(org.uberfire.backend.vfs.Path path,
String comment) |
org.drools.workbench.models.testscenarios.shared.Scenario |
load(org.uberfire.backend.vfs.Path path) |
TestScenarioModelContent |
loadContent(org.uberfire.backend.vfs.Path path) |
org.uberfire.backend.vfs.Path |
rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment) |
TestScenarioResult |
runScenario(String userName,
org.uberfire.backend.vfs.Path path,
org.drools.workbench.models.testscenarios.shared.Scenario scenario) |
org.uberfire.backend.vfs.Path |
save(org.uberfire.backend.vfs.Path resource,
org.drools.workbench.models.testscenarios.shared.Scenario content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment) |
public ScenarioTestEditorServiceImpl()
@Inject public ScenarioTestEditorServiceImpl(org.uberfire.rpc.SessionInfo sessionInfo)
public org.uberfire.backend.vfs.Path create(org.uberfire.backend.vfs.Path context,
String fileName,
org.drools.workbench.models.testscenarios.shared.Scenario content,
String comment)
create in interface org.uberfire.ext.editor.commons.service.support.SupportsCreate<org.drools.workbench.models.testscenarios.shared.Scenario>public org.drools.workbench.models.testscenarios.shared.Scenario load(org.uberfire.backend.vfs.Path path)
load in interface org.uberfire.ext.editor.commons.service.support.SupportsRead<org.drools.workbench.models.testscenarios.shared.Scenario>public org.uberfire.backend.vfs.Path save(org.uberfire.backend.vfs.Path resource,
org.drools.workbench.models.testscenarios.shared.Scenario content,
org.guvnor.common.services.shared.metadata.model.Metadata metadata,
String comment)
save in interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate<org.drools.workbench.models.testscenarios.shared.Scenario,org.guvnor.common.services.shared.metadata.model.Metadata>public void delete(org.uberfire.backend.vfs.Path path,
String comment)
delete in interface org.uberfire.ext.editor.commons.service.support.SupportsDeletepublic org.uberfire.backend.vfs.Path rename(org.uberfire.backend.vfs.Path path,
String newName,
String comment)
rename in interface org.uberfire.ext.editor.commons.service.support.SupportsRenamepublic org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path,
String newName,
String comment)
copy in interface org.uberfire.ext.editor.commons.service.support.SupportsCopypublic org.uberfire.backend.vfs.Path copy(org.uberfire.backend.vfs.Path path,
String newName,
org.uberfire.backend.vfs.Path targetDirectory,
String comment)
copy in interface org.uberfire.ext.editor.commons.service.support.SupportsCopypublic TestScenarioModelContent loadContent(org.uberfire.backend.vfs.Path path)
loadContent in interface ScenarioTestEditorServiceloadContent in class org.kie.workbench.common.services.backend.service.KieService<TestScenarioModelContent>protected TestScenarioModelContent constructContent(org.uberfire.backend.vfs.Path path, org.guvnor.common.services.shared.metadata.model.Overview overview)
constructContent in class org.kie.workbench.common.services.backend.service.KieService<TestScenarioModelContent>public TestScenarioResult runScenario(String userName, org.uberfire.backend.vfs.Path path, org.drools.workbench.models.testscenarios.shared.Scenario scenario)
runScenario in interface ScenarioTestEditorServiceCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.