Package org.kie.api.io
Interface ResourceWithConfiguration
-
public interface ResourceWithConfiguration
Represent a tuple of aResource
with associatedResourceConfiguration
, along with necessary kbuilder callbacks, to be used in inKieAssemblerService
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Consumer<Object>
getAfterAdd()
callback executed on `kbuilder` as a parameter inKieAssemblerService
, which will be executed after performingKieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration)
for the given resourcegetResource()
.Consumer<Object>
getBeforeAdd()
callback executed on `kbuilder` as a parameter inKieAssemblerService
, which will be executed before performingKieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration)
for the given resourcegetResource()
.Resource
getResource()
ResourceConfiguration
getResourceConfiguration()
-
-
-
Method Detail
-
getResource
Resource getResource()
-
getResourceConfiguration
ResourceConfiguration getResourceConfiguration()
-
getBeforeAdd
Consumer<Object> getBeforeAdd()
callback executed on `kbuilder` as a parameter inKieAssemblerService
, which will be executed before performingKieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration)
for the given resourcegetResource()
.
-
getAfterAdd
Consumer<Object> getAfterAdd()
callback executed on `kbuilder` as a parameter inKieAssemblerService
, which will be executed after performingKieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration)
for the given resourcegetResource()
.
-
-