Interface ScenarioSimulationService

  • All Superinterfaces:
    org.uberfire.ext.editor.commons.service.support.SupportsCopy, org.uberfire.ext.editor.commons.service.support.SupportsCreate<org.drools.scenariosimulation.api.model.ScenarioSimulationModel>, org.uberfire.ext.editor.commons.service.support.SupportsDelete, org.uberfire.ext.editor.commons.service.support.SupportsRead<org.drools.scenariosimulation.api.model.ScenarioSimulationModel>, org.uberfire.ext.editor.commons.service.support.SupportsRename, org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.drools.scenariosimulation.api.model.ScenarioSimulationModel,​org.guvnor.common.services.shared.metadata.model.Metadata>, org.uberfire.ext.editor.commons.service.support.SupportsUpdate<org.drools.scenariosimulation.api.model.ScenarioSimulationModel,​org.guvnor.common.services.shared.metadata.model.Metadata>

    public interface ScenarioSimulationService
    extends org.uberfire.ext.editor.commons.service.support.SupportsCreate<org.drools.scenariosimulation.api.model.ScenarioSimulationModel>, org.uberfire.ext.editor.commons.service.support.SupportsRead<org.drools.scenariosimulation.api.model.ScenarioSimulationModel>, org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename<org.drools.scenariosimulation.api.model.ScenarioSimulationModel,​org.guvnor.common.services.shared.metadata.model.Metadata>, org.uberfire.ext.editor.commons.service.support.SupportsDelete, org.uberfire.ext.editor.commons.service.support.SupportsCopy
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.uberfire.backend.vfs.Path create​(org.uberfire.backend.vfs.Path context, String fileName, org.drools.scenariosimulation.api.model.ScenarioSimulationModel content, String comment, org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type, String value)  
      ScenarioSimulationModelContent loadContent​(org.uberfire.backend.vfs.Path path)  
      SimulationRunResult runScenario​(org.uberfire.backend.vfs.Path path, org.drools.scenariosimulation.api.model.ScesimModelDescriptor simulationDescriptor, List<org.drools.scenariosimulation.api.model.ScenarioWithIndex> scenarios, org.drools.scenariosimulation.api.model.Settings settings, org.drools.scenariosimulation.api.model.Background background)  
      List<FactMappingValidationError> validate​(org.drools.scenariosimulation.api.model.Simulation simulation, org.drools.scenariosimulation.api.model.Settings settings, org.uberfire.backend.vfs.Path path)  
      • Methods inherited from interface org.uberfire.ext.editor.commons.service.support.SupportsCopy

        copy, copy
      • Methods inherited from interface org.uberfire.ext.editor.commons.service.support.SupportsCreate

        create
      • Methods inherited from interface org.uberfire.ext.editor.commons.service.support.SupportsDelete

        delete
      • Methods inherited from interface org.uberfire.ext.editor.commons.service.support.SupportsRead

        load
      • Methods inherited from interface org.uberfire.ext.editor.commons.service.support.SupportsRename

        rename
      • Methods inherited from interface org.uberfire.ext.editor.commons.service.support.SupportsSaveAndRename

        saveAndRename
      • Methods inherited from interface org.uberfire.ext.editor.commons.service.support.SupportsUpdate

        save
    • Method Detail

      • runScenario

        SimulationRunResult runScenario​(org.uberfire.backend.vfs.Path path,
                                        org.drools.scenariosimulation.api.model.ScesimModelDescriptor simulationDescriptor,
                                        List<org.drools.scenariosimulation.api.model.ScenarioWithIndex> scenarios,
                                        org.drools.scenariosimulation.api.model.Settings settings,
                                        org.drools.scenariosimulation.api.model.Background background)
      • create

        org.uberfire.backend.vfs.Path create​(org.uberfire.backend.vfs.Path context,
                                             String fileName,
                                             org.drools.scenariosimulation.api.model.ScenarioSimulationModel content,
                                             String comment,
                                             org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type,
                                             String value)
      • validate

        List<FactMappingValidationError> validate​(org.drools.scenariosimulation.api.model.Simulation simulation,
                                                  org.drools.scenariosimulation.api.model.Settings settings,
                                                  org.uberfire.backend.vfs.Path path)