Package org.kie.api.runtime.manager
Interface RuntimeEnvironmentBuilderFactory
- All Known Implementing Classes:
RuntimeEnvironmentBuilder.Factory
public interface RuntimeEnvironmentBuilderFactory
-
Method Summary
Modifier and TypeMethodDescriptionProvides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironment It relies on KieClasspathContainer that requires to have kmodule.xml present in META-INF folder which defines the kjar itself.newClasspathKmoduleDefaultBuilder(String kbaseName, String ksessionName) Provides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironment It relies on KieClasspathContainer that requires to have kmodule.xml present in META-INF folder which defines the kjar itself.Provides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironmentnewDefaultBuilder(String groupId, String artifactId, String version) Provides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironment This one is tailored to works smoothly with kjars as the notion of kbase and ksessionsnewDefaultBuilder(String groupId, String artifactId, String version, String kbaseName, String ksessionName) Provides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironment This one is tailored to works smoothly with kjars as the notion of kbase and ksessionsnewDefaultBuilder(ReleaseId releaseId) Provides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironment This one is tailored to works smoothly with kjars as the notion of kbase and ksessionsnewDefaultBuilder(ReleaseId releaseId, String kbaseName, String ksessionName) Provides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironment This one is tailored to works smoothly with kjars as the notion of kbase and ksessionsProvides default configuration ofRuntimeEnvironmentBuilderthat is based on: DefaultRuntimeEnvironment but it does not have persistence for process engine configured so it will only store process instances in memoryProvides completely emptyRuntimeEnvironmentBuilderinstance that allows to manually set all required components instead of relying on any defaults.
-
Method Details
-
newEmptyBuilder
RuntimeEnvironmentBuilder newEmptyBuilder()Provides completely emptyRuntimeEnvironmentBuilderinstance that allows to manually set all required components instead of relying on any defaults.- Returns:
- new instance of
RuntimeEnvironmentBuilder
-
newDefaultBuilder
RuntimeEnvironmentBuilder newDefaultBuilder()Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-
newDefaultInMemoryBuilder
RuntimeEnvironmentBuilder newDefaultInMemoryBuilder()Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-
newDefaultBuilder
Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Parameters:
groupId- group id of kjarartifactId- artifact id of kjarversion- version number of kjar- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-
newDefaultBuilder
RuntimeEnvironmentBuilder newDefaultBuilder(String groupId, String artifactId, String version, String kbaseName, String ksessionName) Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Parameters:
groupId- group id of kjarartifactId- artifact id of kjarversion- version number of kjarkbaseName- name of the kbase defined in kmodule.xml stored in kjarksessionName- name of the ksession define in kmodule.xml stored in kjar- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-
newDefaultBuilder
Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Parameters:
releaseId-ReleaseIdthat described the kjar- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-
newDefaultBuilder
RuntimeEnvironmentBuilder newDefaultBuilder(ReleaseId releaseId, String kbaseName, String ksessionName) Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Parameters:
releaseId-ReleaseIdthat described the kjarkbaseName- name of the kbase defined in kmodule.xml stored in kjarksessionName- name of the ksession define in kmodule.xml stored in kjar- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-
newClasspathKmoduleDefaultBuilder
RuntimeEnvironmentBuilder newClasspathKmoduleDefaultBuilder()Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-
newClasspathKmoduleDefaultBuilder
Provides default configuration ofRuntimeEnvironmentBuilderthat is based on:- DefaultRuntimeEnvironment
- Parameters:
kbaseName- name of the kbase defined in kmodule.xmlksessionName- name of the ksession define in kmodule.xml- Returns:
- new instance of
RuntimeEnvironmentBuilderthat is already preconfigured with defaults see DefaultRuntimeEnvironment
-