Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta4
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.kie.api.io.Resource

Packages that use Resource
org.jbpm.compiler |
org.jbpm.process.core.impl |
org.jbpm.runtime.manager.impl |
org.kie.api.builder |
org.kie.api.definition.process | The classes that make up a Process definition.
org.kie.api.io | io library for working with Resources See ResourceFactory for more details

Uses of Resource in org.jbpm.compiler

Methods in org.jbpm.compiler with parameters of type Resource
`List<org.drools.compiler.compiler.DroolsError>` | `ProcessBuilderImpl.addProcessFromXml(Resource resource)`
`void` | `ProcessBuilderImpl.buildProcess(Process process, Resource resource)`

Uses of Resource in org.jbpm.process.core.impl

Methods in org.jbpm.process.core.impl that return Resource
`Resource` | `ProcessImpl.getResource()`

Methods in org.jbpm.process.core.impl with parameters of type Resource
`void` | `ProcessImpl.setResource(Resource resource)`

Uses of Resource in org.jbpm.runtime.manager.impl

Methods in org.jbpm.runtime.manager.impl with parameters of type Resource
`void` | `SimpleRuntimeEnvironment.addAsset(Resource resource, ResourceType type)` Adds given asset to knowledge builder to produce KieBase
`RuntimeEnvironmentBuilder` | `RuntimeEnvironmentBuilder.addAsset(Resource asset, ResourceType type)`

Uses of Resource in org.kie.api.builder

Methods in org.kie.api.builder with parameters of type Resource
`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

Uses of Resource in org.kie.api.definition.process

Methods in org.kie.api.definition.process that return Resource
`Resource` | `Process.getResource()`

Methods in org.kie.api.definition.process with parameters of type Resource
`void` | `Process.setResource(Resource res)`

Uses of Resource in org.kie.api.io

Methods in org.kie.api.io that return Resource
`Resource` | `KieResources.newByteArrayResource(byte[] bytes)`
`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(String fileName)`
`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(URL url)`
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Beta4
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.