Uses of Interface
org.kie.api.io.Resource
Packages that use Resource
Package
Description
The classes that make up a Process definition.
io library for working with Resources
-
Uses of Resource in org.kie.api.builder
Methods in org.kie.api.builder with parameters of type ResourceModifier and TypeMethodDescriptionKieRepository.addKieModule(Resource resource, Resource... dependencies) Creates a new KieModule using the provided resource and dependencies and automatically adds it to this KieRepositoryKieBuilder.setDependencies(Resource... dependencies) Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends onAdds the given Resource to this KieFileSystem in the specified pathAdds the given Resource to this KieFileSystem -
Uses of Resource in org.kie.api.definition.process
Methods in org.kie.api.definition.process that return ResourceMethods in org.kie.api.definition.process with parameters of type Resource -
Uses of Resource in org.kie.api.internal.assembler
Methods in org.kie.api.internal.assembler that return ResourceMethods in org.kie.api.internal.assembler with parameters of type ResourceModifier and TypeMethodDescriptionvoidKieAssemblers.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 ResourceModifier and TypeMethodDescriptiondefault 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 ResourceModifier and TypeMethodDescriptionResourceWithConfiguration.getResource()KieResources.newByteArrayResource(byte[] bytes) KieResources.newByteArrayResource(byte[] bytes, String encoding) KieResources.newClassPathResource(String path) KieResources.newClassPathResource(String path, Class<?> clazz) KieResources.newClassPathResource(String path, ClassLoader classLoader) KieResources.newClassPathResource(String path, String encoding) KieResources.newClassPathResource(String path, String encoding, Class<?> clazz) KieResources.newClassPathResource(String path, String encoding, ClassLoader classLoader) KieResources.newDescrResource(KieDescr descr) KieResources.newFileSystemResource(File file) KieResources.newFileSystemResource(File file, String encoding) KieResources.newFileSystemResource(String fileName) KieResources.newFileSystemResource(String fileName, String encoding) KieResources.newInputStreamResource(InputStream stream) KieResources.newInputStreamResource(InputStream stream, String encoding) KieResources.newReaderResource(Reader reader) KieResources.newReaderResource(Reader reader, String encoding) Resource.setConfiguration(ResourceConfiguration conf) Sets the resource configuration in case it is necessary.Resource.setResourceType(ResourceType type) Sets the resource type.Resource.setSourcePath(String path) Sets this resource name.Resource.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.