public static class RuntimeEnvironmentBuilder.Factory extends Object implements RuntimeEnvironmentBuilderFactory
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
static RuntimeEnvironmentBuilderFactory |
get()
Returns a reference to the RuntimeEnvironmentBuilderFactory singleton
|
RuntimeEnvironmentBuilder |
newClasspathKmoduleDefaultBuilder()
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
It relies on KieClasspathContainer that requires to have kmodule.xml present in META-INF folder which
defines the kjar itself. |
RuntimeEnvironmentBuilder |
newClasspathKmoduleDefaultBuilder(String kbaseName,
String ksessionName)
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
It relies on KieClasspathContainer that requires to have kmodule.xml present in META-INF folder which
defines the kjar itself. |
RuntimeEnvironmentBuilder |
newDefaultBuilder()
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
|
RuntimeEnvironmentBuilder |
newDefaultBuilder(ReleaseId releaseId)
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
This one is tailored to works smoothly with kjars as the notion of kbase and ksessions |
RuntimeEnvironmentBuilder |
newDefaultBuilder(ReleaseId releaseId,
String kbaseName,
String ksessionName)
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
This one is tailored to works smoothly with kjars as the notion of kbase and ksessions |
RuntimeEnvironmentBuilder |
newDefaultBuilder(String groupId,
String artifactId,
String version)
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
This one is tailored to works smoothly with kjars as the notion of kbase and ksessions |
RuntimeEnvironmentBuilder |
newDefaultBuilder(String groupId,
String artifactId,
String version,
String kbaseName,
String ksessionName)
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
This one is tailored to works smoothly with kjars as the notion of kbase and ksessions |
RuntimeEnvironmentBuilder |
newDefaultInMemoryBuilder()
Provides default configuration of
RuntimeEnvironmentBuilder that is based on:
DefaultRuntimeEnvironment
but it does not have persistence for process engine configured so it will only store process instances in memory |
RuntimeEnvironmentBuilder |
newEmptyBuilder()
Provides completely empty
RuntimeEnvironmentBuilder instance that allows to manually
set all required components instead of relying on any defaults. |
public static RuntimeEnvironmentBuilderFactory get()
public RuntimeEnvironmentBuilder newEmptyBuilder()
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder instance that allows to manually
set all required components instead of relying on any defaults.newEmptyBuilder in interface RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilderpublic RuntimeEnvironmentBuilder newDefaultBuilder()
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newDefaultBuilder in interface RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultInMemoryBuilder()
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newDefaultInMemoryBuilder in interface RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultBuilder(String groupId, String artifactId, String version)
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newDefaultBuilder in interface RuntimeEnvironmentBuilderFactorygroupId - group id of kjarartifactId - artifact id of kjarversion - version number of kjarRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultBuilder(String groupId, String artifactId, String version, String kbaseName, String ksessionName)
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newDefaultBuilder in interface RuntimeEnvironmentBuilderFactorygroupId - 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 kjarRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultBuilder(ReleaseId releaseId)
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newDefaultBuilder in interface RuntimeEnvironmentBuilderFactoryreleaseId - ReleaseId that described the kjarRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultBuilder(ReleaseId releaseId, String kbaseName, String ksessionName)
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newDefaultBuilder in interface RuntimeEnvironmentBuilderFactoryreleaseId - ReleaseId that described the kjarkbaseName - name of the kbase defined in kmodule.xml stored in kjarksessionName - name of the ksession define in kmodule.xml stored in kjarRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newClasspathKmoduleDefaultBuilder()
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newClasspathKmoduleDefaultBuilder in interface RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newClasspathKmoduleDefaultBuilder(String kbaseName, String ksessionName)
RuntimeEnvironmentBuilderFactoryRuntimeEnvironmentBuilder that is based on:
newClasspathKmoduleDefaultBuilder in interface RuntimeEnvironmentBuilderFactorykbaseName - name of the kbase defined in kmodule.xmlksessionName - name of the ksession define in kmodule.xmlRuntimeEnvironmentBuilder that is already preconfigured with defaults
see DefaultRuntimeEnvironmentCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.