Uses of Interface
org.kie.api.io.Resource
-
Packages that use Resource Package Description org.kie.api.builder org.kie.api.definition.process The classes that make up a Process definition.org.kie.api.internal.assembler org.kie.api.internal.io org.kie.api.io io library for working with Resourcesorg.kie.api.runtime.manager -
-
Uses of Resource in org.kie.api.builder
Methods in org.kie.api.builder with parameters of type Resource Modifier and Type Method Description KieModule
KieRepository. addKieModule(Resource resource, Resource... dependencies)
Creates a new KieModule using the provided resource and dependencies and automatically adds it to this KieRepositoryKieBuilder
KieBuilder. setDependencies(Resource... dependencies)
Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends onKieFileSystem
KieFileSystem. write(java.lang.String path, Resource resource)
Adds the given Resource to this KieFileSystem in the specified pathKieFileSystem
KieFileSystem. write(Resource resource)
Adds the given Resource to this KieFileSystem -
Uses of Resource in org.kie.api.definition.process
Methods in org.kie.api.definition.process that return Resource Modifier and Type Method Description Resource
Process. getResource()
Methods in org.kie.api.definition.process with parameters of type Resource Modifier and Type Method Description void
Process. setResource(Resource res)
-
Uses of Resource in org.kie.api.internal.assembler
Methods in org.kie.api.internal.assembler that return Resource Modifier and Type Method Description Resource
ProcessedResource. getResource()
Methods in org.kie.api.internal.assembler with parameters of type Resource Modifier and Type Method Description void
KieAssemblers. addResourceAfterRules(java.lang.Object knowledgeBuilder, Resource resource, ResourceType type, ResourceConfiguration configuration)
default void
KieAssemblerService. addResourceAfterRules(java.lang.Object kbuilder, Resource resource, ResourceType type, ResourceConfiguration configuration)
void
KieAssemblers. addResourceBeforeRules(java.lang.Object knowledgeBuilder, Resource resource, ResourceType type, ResourceConfiguration configuration)
default void
KieAssemblerService. addResourceBeforeRules(java.lang.Object kbuilder, Resource resource, ResourceType type, ResourceConfiguration configuration)
-
Uses of Resource in org.kie.api.internal.io
Methods in org.kie.api.internal.io with parameters of type Resource Modifier and Type Method Description default boolean
ResourceTypePackage. removeResource(Resource resource)
Remove artifacts inside this ResourceTypePackage which belong to the resource passed as parameter. -
Uses of Resource in org.kie.api.io
Methods in org.kie.api.io that return Resource Modifier and Type Method Description Resource
ResourceWithConfiguration. getResource()
Resource
KieResources. newByteArrayResource(byte[] bytes)
Resource
KieResources. newByteArrayResource(byte[] bytes, java.lang.String encoding)
Resource
KieResources. newClassPathResource(java.lang.String path)
Resource
KieResources. newClassPathResource(java.lang.String path, java.lang.Class<?> clazz)
Resource
KieResources. newClassPathResource(java.lang.String path, java.lang.ClassLoader classLoader)
Resource
KieResources. newClassPathResource(java.lang.String path, java.lang.String encoding)
Resource
KieResources. newClassPathResource(java.lang.String path, java.lang.String encoding, java.lang.Class<?> clazz)
Resource
KieResources. newClassPathResource(java.lang.String path, java.lang.String encoding, java.lang.ClassLoader classLoader)
Resource
KieResources. newDescrResource(KieDescr descr)
Resource
KieResources. newFileSystemResource(java.io.File file)
Resource
KieResources. newFileSystemResource(java.io.File file, java.lang.String encoding)
Resource
KieResources. newFileSystemResource(java.lang.String fileName)
Resource
KieResources. newFileSystemResource(java.lang.String fileName, java.lang.String encoding)
Resource
KieResources. newInputStreamResource(java.io.InputStream stream)
Resource
KieResources. newInputStreamResource(java.io.InputStream stream, java.lang.String encoding)
Resource
KieResources. newReaderResource(java.io.Reader reader)
Resource
KieResources. newReaderResource(java.io.Reader reader, java.lang.String encoding)
Resource
Resource. setConfiguration(ResourceConfiguration conf)
Sets the resource configuration in case it is necessary.Resource
Resource. setResourceType(ResourceType type)
Sets the resource type.Resource
Resource. setSourcePath(java.lang.String path)
Sets this resource name.Resource
Resource. setTargetPath(java.lang.String path)
In case this resource should be written to a different path when writing it down to the KieFileSystem, this property allows the application to set such path. -
Uses of Resource in org.kie.api.runtime.manager
Methods in org.kie.api.runtime.manager with parameters of type Resource Modifier and Type Method Description RuntimeEnvironmentBuilder
RuntimeEnvironmentBuilder. addAsset(Resource asset, ResourceType type)
-