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 KieModuleKieRepository. addKieModule(Resource resource, Resource... dependencies)Creates a new KieModule using the provided resource and dependencies and automatically adds it to this KieRepositoryKieBuilderKieBuilder. setDependencies(Resource... dependencies)Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends onKieFileSystemKieFileSystem. write(String path, Resource resource)Adds the given Resource to this KieFileSystem in the specified pathKieFileSystemKieFileSystem. 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 ResourceProcess. getResource()Methods in org.kie.api.definition.process with parameters of type Resource Modifier and Type Method Description voidProcess. 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 ResourceProcessedResource. getResource()Methods in org.kie.api.internal.assembler with parameters of type Resource Modifier and Type Method Description voidKieAssemblers. addResourceAfterRules(Object knowledgeBuilder, Resource resource, ResourceType type, ResourceConfiguration configuration)default voidKieAssemblerService. addResourceAfterRules(Object kbuilder, Resource resource, ResourceType type, ResourceConfiguration configuration)voidKieAssemblers. addResourceBeforeRules(Object knowledgeBuilder, Resource resource, ResourceType type, ResourceConfiguration configuration)default voidKieAssemblerService. addResourceBeforeRules(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 booleanResourceTypePackage. 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 ResourceResourceWithConfiguration. getResource()ResourceKieResources. newByteArrayResource(byte[] bytes)ResourceKieResources. newByteArrayResource(byte[] bytes, String encoding)ResourceKieResources. newClassPathResource(String path)ResourceKieResources. newClassPathResource(String path, Class<?> clazz)ResourceKieResources. newClassPathResource(String path, ClassLoader classLoader)ResourceKieResources. newClassPathResource(String path, String encoding)ResourceKieResources. newClassPathResource(String path, String encoding, Class<?> clazz)ResourceKieResources. newClassPathResource(String path, String encoding, ClassLoader classLoader)ResourceKieResources. newDescrResource(KieDescr descr)ResourceKieResources. newFileSystemResource(File file)ResourceKieResources. newFileSystemResource(File file, String encoding)ResourceKieResources. newFileSystemResource(String fileName)ResourceKieResources. newFileSystemResource(String fileName, String encoding)ResourceKieResources. newInputStreamResource(InputStream stream)ResourceKieResources. newInputStreamResource(InputStream stream, String encoding)ResourceKieResources. newReaderResource(Reader reader)ResourceKieResources. newReaderResource(Reader reader, String encoding)ResourceResource. setConfiguration(ResourceConfiguration conf)Sets the resource configuration in case it is necessary.ResourceResource. setResourceType(ResourceType type)Sets the resource type.ResourceResource. setSourcePath(String path)Sets this resource name.ResourceResource. setTargetPath(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 RuntimeEnvironmentBuilderRuntimeEnvironmentBuilder. addAsset(Resource asset, ResourceType type)
-