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()
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
instance that allows to manually
set all required components instead of relying on any defaults.newEmptyBuilder
in interface RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
public RuntimeEnvironmentBuilder newDefaultBuilder()
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newDefaultBuilder
in interface RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultInMemoryBuilder()
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newDefaultInMemoryBuilder
in interface RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultBuilder(String groupId, String artifactId, String version)
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newDefaultBuilder
in interface RuntimeEnvironmentBuilderFactory
groupId
- 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)
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newDefaultBuilder
in interface RuntimeEnvironmentBuilderFactory
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 kjarRuntimeEnvironmentBuilder
that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultBuilder(ReleaseId releaseId)
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newDefaultBuilder
in interface RuntimeEnvironmentBuilderFactory
releaseId
- ReleaseId
that described the kjarRuntimeEnvironmentBuilder
that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newDefaultBuilder(ReleaseId releaseId, String kbaseName, String ksessionName)
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newDefaultBuilder
in interface RuntimeEnvironmentBuilderFactory
releaseId
- 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()
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newClasspathKmoduleDefaultBuilder
in interface RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is already preconfigured with defaults
see DefaultRuntimeEnvironmentpublic RuntimeEnvironmentBuilder newClasspathKmoduleDefaultBuilder(String kbaseName, String ksessionName)
RuntimeEnvironmentBuilderFactory
RuntimeEnvironmentBuilder
that is based on:
newClasspathKmoduleDefaultBuilder
in interface RuntimeEnvironmentBuilderFactory
kbaseName
- 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–2017 JBoss by Red Hat. All rights reserved.