public abstract class FluentKieModuleDeploymentHelper extends KieModuleDeploymentHelper
KieModuleDeploymentHelper functionality. See
the KieModuleDeploymentHelper for more info.| Constructor and Description |
|---|
FluentKieModuleDeploymentHelper() |
| Modifier and Type | Method and Description |
|---|---|
abstract FluentKieModuleDeploymentHelper |
addClass(Class<?>... classForKjar)
Add a class that should be included in the Kjar.
|
abstract FluentKieModuleDeploymentHelper |
addDependencies(String... dependency)
Add one or more dependencies (specified by a "G:A:V" string) that the Kjar should use.
|
abstract FluentKieModuleDeploymentHelper |
addResourceFilePath(String... resourceFilePath)
Add a path containing one or more resources.
|
abstract org.kie.api.builder.KieModule |
createKieJar()
Create the Kjar
|
abstract void |
createKieJarAndDeployToMaven()
Create the Kjar and deploy (install) it to the local maven repository.
|
abstract org.kie.api.builder.model.KieModuleModel |
getKieModuleModel()
Get the
KieModuleModel. |
abstract FluentKieModuleDeploymentHelper |
resetHelper()
Reset the helper.
|
abstract FluentKieModuleDeploymentHelper |
setArtifactId(String artifactId)
Set the artifact id of the Kjar
|
abstract FluentKieModuleDeploymentHelper |
setClasses(List<Class<?>> classesForKjar)
Set the list of classes to be added to the Kjar.
|
abstract FluentKieModuleDeploymentHelper |
setDependencies(List<String> dependencies)
Set the list of dependencies that the Kjar should use.
|
abstract FluentKieModuleDeploymentHelper |
setGroupId(String groupId)
Set the group id of the Kjar
|
abstract FluentKieModuleDeploymentHelper |
setKBaseName(String kbaseName)
Set a
KieBase name. |
abstract FluentKieModuleDeploymentHelper |
setKieSessionname(String ksessionName)
Set the
KieSession name. |
abstract FluentKieModuleDeploymentHelper |
setResourceFilePaths(List<String> resourceFilePaths)
Set the list of paths containing resources.
|
abstract FluentKieModuleDeploymentHelper |
setVersion(String version)
Set the (pom) version of the Kjar
|
newFluentInstance, newSingleInstancepublic abstract FluentKieModuleDeploymentHelper setGroupId(String groupId)
groupId - The group idpublic abstract FluentKieModuleDeploymentHelper setArtifactId(String artifactId)
artifactId - The artifact idpublic abstract FluentKieModuleDeploymentHelper setVersion(String version)
version - The versionpublic abstract FluentKieModuleDeploymentHelper setKBaseName(String kbaseName)
kbaseName - The KieBase namepublic abstract FluentKieModuleDeploymentHelper setKieSessionname(String ksessionName)
KieSession name. If you want to add multiple KieSession's, use
the getKieModuleModel() method.ksessionName - The KieSession namepublic abstract FluentKieModuleDeploymentHelper setResourceFilePaths(List<String> resourceFilePaths)
resourceFilePaths - The list of resource file pathspublic abstract FluentKieModuleDeploymentHelper addResourceFilePath(String... resourceFilePath)
resourceFilePath - The resource file pathpublic abstract FluentKieModuleDeploymentHelper setClasses(List<Class<?>> classesForKjar)
classesForKjar - The list of classespublic abstract FluentKieModuleDeploymentHelper addClass(Class<?>... classForKjar)
classForKjar - The classpublic abstract FluentKieModuleDeploymentHelper setDependencies(List<String> dependencies)
dependencies - The list of dependenciespublic abstract FluentKieModuleDeploymentHelper addDependencies(String... dependency)
dependency - One or more strings specifying a dependencypublic abstract org.kie.api.builder.model.KieModuleModel getKieModuleModel()
KieModuleModel. Use the KieModuleModel instance to add
more KieBase or KieSession instances as well as add or change the
default configuration of the KieSession's.KieModuleModel instancepublic abstract FluentKieModuleDeploymentHelper resetHelper()
public abstract org.kie.api.builder.KieModule createKieJar()
KieModule that represents the Kjarpublic abstract void createKieJarAndDeployToMaven()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.