public class NewKieSessionCommand extends AbstractNewKieContainerCommand implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.KieSession>
| Constructor and Description |
|---|
NewKieSessionCommand(org.kie.api.builder.ReleaseId releaseId,
String sessionName) |
NewKieSessionCommand(String sessionName) |
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.runtime.KieSession |
execute(org.kie.api.runtime.Context context) |
NewKieSessionCommand |
setCustomizeSessionConfiguration(BiFunction<String,org.kie.api.runtime.KieContainer,org.kie.api.runtime.KieSessionConfiguration> customizeSessionConfiguration) |
String |
toString() |
getKieContainerpublic NewKieSessionCommand(String sessionName)
public NewKieSessionCommand(org.kie.api.builder.ReleaseId releaseId,
String sessionName)
public org.kie.api.runtime.KieSession execute(org.kie.api.runtime.Context context)
execute in interface org.kie.api.command.ExecutableCommand<org.kie.api.runtime.KieSession>public NewKieSessionCommand setCustomizeSessionConfiguration(BiFunction<String,org.kie.api.runtime.KieContainer,org.kie.api.runtime.KieSessionConfiguration> customizeSessionConfiguration)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.