| 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 Resources
See ResourceFactory for more details
 
 | 
| org.kie.api.runtime.manager | 
| Modifier and Type | Method and Description | 
|---|---|
KieModule | 
KieRepository.addKieModule(Resource resource,
            Resource... dependencies)
Creates a new KieModule using the provided resource and dependencies
 and automatically adds it to this KieRepository 
 | 
KieModule | 
KieRepository.addKieModule(Resource resource,
            Resource... dependencies)
Creates a new KieModule using the provided resource and dependencies
 and automatically adds it to this KieRepository 
 | 
KieBuilder | 
KieBuilder.setDependencies(Resource... dependencies)
Sets the other Resources from which the KieModule that has to be built by this KieBuilder depends on 
 | 
KieFileSystem | 
KieFileSystem.write(Resource resource)
Adds the given Resource to this KieFileSystem 
 | 
KieFileSystem | 
KieFileSystem.write(String path,
     Resource resource)
Adds the given Resource to this KieFileSystem in the specified path 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Resource | 
Process.getResource()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
Process.setResource(Resource res)  | 
| Modifier and Type | Method and Description | 
|---|---|
Resource | 
ProcessedResource.getResource()  | 
| Modifier and Type | Method and Description | 
|---|---|
default void | 
KieAssemblerService.addResource(Object kbuilder,
           Resource resource,
           ResourceType type,
           ResourceConfiguration configuration)
Deprecated. 
 
As of version 7.51.0 replaced by  
KieAssemblerService.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration) | 
default void | 
KieAssemblers.addResource(Object knowledgeBuilder,
           Resource resource,
           ResourceType type,
           ResourceConfiguration configuration)
Deprecated. 
 
As of version 7.51.0 replaced by  
KieAssemblers.addResourceAfterRules(Object, Resource, ResourceType, ResourceConfiguration) | 
default void | 
KieAssemblerService.addResourceAfterRules(Object kbuilder,
                     Resource resource,
                     ResourceType type,
                     ResourceConfiguration configuration)  | 
void | 
KieAssemblers.addResourceAfterRules(Object knowledgeBuilder,
                     Resource resource,
                     ResourceType type,
                     ResourceConfiguration configuration)  | 
default void | 
KieAssemblerService.addResourceBeforeRules(Object kbuilder,
                      Resource resource,
                      ResourceType type,
                      ResourceConfiguration configuration)  | 
void | 
KieAssemblers.addResourceBeforeRules(Object knowledgeBuilder,
                      Resource resource,
                      ResourceType type,
                      ResourceConfiguration configuration)  | 
| Modifier and Type | Method and Description | 
|---|---|
default boolean | 
ResourceTypePackage.removeResource(Resource resource)
Remove artifacts inside this ResourceTypePackage which belong to the resource passed as parameter. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Resource | 
ResourceWithConfiguration.getResource()  | 
Resource | 
KieResources.newByteArrayResource(byte[] bytes)  | 
Resource | 
KieResources.newByteArrayResource(byte[] bytes,
                    String encoding)  | 
Resource | 
KieResources.newClassPathResource(String path)  | 
Resource | 
KieResources.newClassPathResource(String path,
                    Class<?> clazz)  | 
Resource | 
KieResources.newClassPathResource(String path,
                    ClassLoader classLoader)  | 
Resource | 
KieResources.newClassPathResource(String path,
                    String encoding)  | 
Resource | 
KieResources.newClassPathResource(String path,
                    String encoding,
                    Class<?> clazz)  | 
Resource | 
KieResources.newClassPathResource(String path,
                    String encoding,
                    ClassLoader classLoader)  | 
Resource | 
KieResources.newDescrResource(KieDescr descr)  | 
Resource | 
KieResources.newFileSystemResource(File file)  | 
Resource | 
KieResources.newFileSystemResource(File file,
                     String encoding)  | 
Resource | 
KieResources.newFileSystemResource(String fileName)  | 
Resource | 
KieResources.newFileSystemResource(String fileName,
                     String encoding)  | 
Resource | 
KieResources.newInputStreamResource(InputStream stream)  | 
Resource | 
KieResources.newInputStreamResource(InputStream stream,
                      String encoding)  | 
Resource | 
KieResources.newReaderResource(Reader reader)  | 
Resource | 
KieResources.newReaderResource(Reader reader,
                 String encoding)  | 
Resource | 
KieResources.newUrlResource(String path)  | 
Resource | 
KieResources.newUrlResource(String path,
              String encoding)  | 
Resource | 
KieResources.newUrlResource(URL url)  | 
Resource | 
KieResources.newUrlResource(URL url,
              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(String path)
Sets this resource name. 
 | 
Resource | 
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RuntimeEnvironmentBuilder | 
RuntimeEnvironmentBuilder.addAsset(Resource asset,
        ResourceType type)  | 
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.