Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.drools.io.Resource

Packages that use Resource
org.drools | The KnowledgeBase and its factory.
org.drools.agent | The KnowlegeAgent provides automatic loading, caching and re-loading, of resources and is configured from a properties files.
org.drools.builder | The builder package is responsible for building knowledge definitions from artifact resources.
org.drools.builder.help | Providers helper classes that can be used during building.
org.drools.event.knowledgeagent |
org.drools.io | io library for working with Resources See ResourceFactory for more details

Uses of Resource in org.drools

Methods in org.drools that return types with arguments of type Resource
`Collection<Resource>` | `ChangeSet.getResourcesAdded()` Returns an immutable Collection of added Resources for this ChangeSet
`Collection<Resource>` | `ChangeSet.getResourcesModified()` Returns an immutable Collection of modified Resources for this ChangeSet
`Collection<Resource>` | `ChangeSet.getResourcesRemoved()` Returns an immutable Collection of removed Resources for this ChangeSet

Uses of Resource in org.drools.agent

Methods in org.drools.agent with parameters of type Resource
`void` | `KnowledgeAgent.applyChangeSet(Resource resource)`

Uses of Resource in org.drools.builder

Methods in org.drools.builder that return Resource
`Resource` | `KnowledgeBuilderResult.getResource()` Returns the Resource that caused this result

Methods in org.drools.builder with parameters of type Resource
`CompositeKnowledgeBuilder` | `CompositeKnowledgeBuilder.add(Resource resource)` Add a resource of the given ResourceType, using the default type and resource configuration.
`void` | `KnowledgeBuilder.add(Resource resource, ResourceType type)` Add a resource of the given ResourceType, using the default resource configuration.
`CompositeKnowledgeBuilder` | `CompositeKnowledgeBuilder.add(Resource resource, ResourceType type)` Add a resource of the given ResourceType, using the default resource configuration.
`void` | `KnowledgeBuilder.add(Resource resource, ResourceType type, ResourceConfiguration configuration)` Add a resource of the given ResourceType, using the provided ResourceConfiguration.
`CompositeKnowledgeBuilder` | `CompositeKnowledgeBuilder.add(Resource resource, ResourceType type, ResourceConfiguration configuration)` Add a resource of the given ResourceType, using the provided ResourceConfiguration.

Uses of Resource in org.drools.builder.help

Methods in org.drools.builder.help with parameters of type Resource
`static String[]` | `KnowledgeBuilderHelper.addXsdModel(Resource resource, KnowledgeBuilder kbuilder, com.sun.tools.xjc.Options xjcOpts, String systemId)` Generates pojos for a given XSD using XJC and adds them to the specified KnowlegeBase.
`String[]` | `DroolsJaxbHelperProvider.addXsdModel(Resource resource, KnowledgeBuilder kbuilder, com.sun.tools.xjc.Options xjcOpts, String systemId)` Deprecated. This is now deprecated, as we now support XSD as a standard ResourceType. Although you'll still need the newJAXBContext method to create a JAXBContext from the KnowledgeBase.

Uses of Resource in org.drools.event.knowledgeagent

Methods in org.drools.event.knowledgeagent that return Resource
`Resource` | `ResourceCompilationFailedEvent.getResource()`
`Resource` | `BeforeResourceProcessedEvent.getResource()`
`Resource` | `AfterResourceProcessedEvent.getResource()`

Methods in org.drools.event.knowledgeagent that return types with arguments of type Resource
`List<Resource>` | `AfterChangeSetProcessedEvent.getAddedResources()`
`Map<Resource,Set<KnowledgeDefinition>>` | `AfterChangeSetProcessedEvent.getModifiedResourceMappings()`
`Map<Resource,Set<KnowledgeDefinition>>` | `AfterChangeSetProcessedEvent.getRemovedResourceMappings()`

Constructors in org.drools.event.knowledgeagent with parameters of type Resource
`AfterResourceProcessedEvent(ChangeSet changeSet, Resource resource, ResourceType resourceType, KnowledgeAgent.ResourceStatus status)`
`BeforeResourceProcessedEvent(ChangeSet changeSet, Resource resource, ResourceType resourceType, KnowledgeAgent.ResourceStatus status)`
`ResourceCompilationFailedEvent(KnowledgeBuilder kbuilder, Resource resource, ResourceType resourceType)`

Constructor parameters in org.drools.event.knowledgeagent with type arguments of type Resource
`AfterChangeSetProcessedEvent(ChangeSet changeSet, List<Resource> addedResources, Map<Resource,Set<KnowledgeDefinition>> modifiedResourceMappings, Map<Resource,Set<KnowledgeDefinition>> removedResourceMappings)`
`AfterChangeSetProcessedEvent(ChangeSet changeSet, List<Resource> addedResources, Map<Resource,Set<KnowledgeDefinition>> modifiedResourceMappings, Map<Resource,Set<KnowledgeDefinition>> removedResourceMappings)`
`AfterChangeSetProcessedEvent(ChangeSet changeSet, List<Resource> addedResources, Map<Resource,Set<KnowledgeDefinition>> modifiedResourceMappings, Map<Resource,Set<KnowledgeDefinition>> removedResourceMappings)`

Uses of Resource in org.drools.io

Methods in org.drools.io that return Resource
`Resource` | `ResourcedObject.getResource()`
`Resource` | `ResourceFactoryService.newByteArrayResource(byte[] bytes)`
`static Resource` | `ResourceFactory.newByteArrayResource(byte[] bytes)`
`Resource` | `ResourceFactoryService.newClassPathResource(String path)`
`static Resource` | `ResourceFactory.newClassPathResource(String path)`
`static Resource` | `ResourceFactory.newClassPathResource(String path, Class clazz)`
`Resource` | `ResourceFactoryService.newClassPathResource(String path, Class<?> clazz)`
`Resource` | `ResourceFactoryService.newClassPathResource(String path, ClassLoader classLoader)`
`static Resource` | `ResourceFactory.newClassPathResource(String path, ClassLoader classLoader)`
`Resource` | `ResourceFactoryService.newClassPathResource(String path, String encoding)`
`static Resource` | `ResourceFactory.newClassPathResource(String path, String encoding)`
`static Resource` | `ResourceFactory.newClassPathResource(String path, String encoding, Class clazz)`
`Resource` | `ResourceFactoryService.newClassPathResource(String path, String encoding, Class<?> clazz)`
`Resource` | `ResourceFactoryService.newClassPathResource(String path, String encoding, ClassLoader classLoader)`
`static Resource` | `ResourceFactory.newClassPathResource(String path, String encoding, ClassLoader classLoader)`
`Resource` | `ResourceFactoryService.newDescrResource(KnowledgeDescr descr)`
`static Resource` | `ResourceFactory.newDescrResource(KnowledgeDescr descr)`
`static Resource` | `ResourceFactory.newFileResource(File file)`
`static Resource` | `ResourceFactory.newFileResource(String fileName)`
`Resource` | `ResourceFactoryService.newFileSystemResource(File file)`
`Resource` | `ResourceFactoryService.newFileSystemResource(String fileName)`
`Resource` | `ResourceFactoryService.newInputStreamResource(InputStream stream)`
`static Resource` | `ResourceFactory.newInputStreamResource(InputStream stream)`
`Resource` | `ResourceFactoryService.newInputStreamResource(InputStream stream, String encoding)`
`static Resource` | `ResourceFactory.newInputStreamResource(InputStream stream, String encoding)`
`Resource` | `ResourceFactoryService.newReaderResource(Reader reader)`
`static Resource` | `ResourceFactory.newReaderResource(Reader reader)`
`Resource` | `ResourceFactoryService.newReaderResource(Reader reader, String encoding)`
`static Resource` | `ResourceFactory.newReaderResource(Reader reader, String encoding)`
`Resource` | `ResourceFactoryService.newUrlResource(String path)`
`static Resource` | `ResourceFactory.newUrlResource(String path)`
`Resource` | `ResourceFactoryService.newUrlResource(URL url)`
`static Resource` | `ResourceFactory.newUrlResource(URL url)`

Methods in org.drools.io with parameters of type Resource
`void` | `ResourcedObject.setResource(Resource resource)`
`void` | `ResourceChangeNotifier.subscribeChildResource(Resource directory, Resource child)` When a ResourceChangeMonitor is asked to monitor a directory, it needs a way to tell the ResourceChangeNotifier of any newly added Resources.
`void` | `ResourceChangeMonitor.subscribeNotifier(ResourceChangeNotifier notifier, Resource resource)` Subscribe the notifier to receive change information on the given resource.
`void` | `ResourceChangeNotifier.subscribeResourceChangeListener(ResourceChangeListener listener, Resource resource)`
`void` | `ResourceChangeMonitor.unsubscribeNotifier(ResourceChangeNotifier notifier, Resource resource)` Unsubscribe the notifier for the given resource.
`void` | `ResourceChangeNotifier.unsubscribeResourceChangeListener(ResourceChangeListener listener, Resource resource)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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