public interface ResourceWithConfiguration
Resource
with associated ResourceConfiguration
, along with necessary kbuilder callbacks, to be used in in KieAssemblerService
.Modifier and Type | Method and Description |
---|---|
Consumer<Object> |
getAfterAdd()
callback executed on `kbuilder` as a parameter in
KieAssemblerService , which will be executed after performing KieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration) for the given resource getResource() . |
Consumer<Object> |
getBeforeAdd()
callback executed on `kbuilder` as a parameter in
KieAssemblerService , which will be executed before performing KieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration) for the given resource getResource() . |
Resource |
getResource() |
ResourceConfiguration |
getResourceConfiguration() |
Resource getResource()
ResourceConfiguration getResourceConfiguration()
Consumer<Object> getBeforeAdd()
KieAssemblerService
, which will be executed before performing KieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration)
for the given resource getResource()
.Consumer<Object> getAfterAdd()
KieAssemblerService
, which will be executed after performing KieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration)
for the given resource getResource()
.Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.