org.kie.internal.builder
public interface CompositeKnowledgeBuilder
Modifier and Type | Method and Description |
---|---|
CompositeKnowledgeBuilder |
add(org.kie.api.io.Resource resource)
Add a resource of the given ResourceType, using the default type and resource configuration.
|
CompositeKnowledgeBuilder |
add(org.kie.api.io.Resource resource,
org.kie.api.io.ResourceType type)
Add a resource of the given ResourceType, using the default resource configuration.
|
CompositeKnowledgeBuilder |
add(org.kie.api.io.Resource resource,
org.kie.api.io.ResourceType type,
org.kie.api.io.ResourceConfiguration configuration)
Add a resource of the given ResourceType, using the provided ResourceConfiguration.
|
void |
build()
Build all the Resources added during this batch
|
CompositeKnowledgeBuilder |
type(org.kie.api.io.ResourceType type)
Set the default resource type of all the subsequently added Resources.
|
CompositeKnowledgeBuilder type(org.kie.api.io.ResourceType type)
type
- the resource typeCompositeKnowledgeBuilder add(org.kie.api.io.Resource resource)
resource
- the Resource to addCompositeKnowledgeBuilder add(org.kie.api.io.Resource resource, org.kie.api.io.ResourceType type)
resource
- the Resource to addtype
- the resource typeCompositeKnowledgeBuilder add(org.kie.api.io.Resource resource, org.kie.api.io.ResourceType type, org.kie.api.io.ResourceConfiguration configuration)
resource
- the Resource to addtype
- the resource typeconfiguration
- the resource configurationvoid build()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.