public class OAVBDIModelLoader extends AbstractModelLoader
Modifier and Type | Field and Description |
---|---|
static boolean |
ALL_RULES
Flag for using all rules.
|
static String |
CONTEXT_OAVROOT
Key for the OAV root object in the read context.
|
static String |
FILE_EXTENSION_AGENT
The Jadex agent extension.
|
static String |
FILE_EXTENSION_CAPABILITY
The Jadex capability extension.
|
static String |
FILE_EXTENSION_PROPERTIES
The Jadex properties extension.
|
Constructor and Description |
---|
OAVBDIModelLoader(Map properties,
IComponentIdentifier root)
Create an OAV BDI Model loader.
|
Modifier and Type | Method and Description |
---|---|
void |
createAgentModelEntry(OAVCapabilityModel model,
ModelInfo info)
Rules for agent elements have to be created and added to the generic
BDI interpreter rules.
|
OAVAgentModel |
loadAgentModel(String name,
String[] imports,
ClassLoader classloader,
Object context)
Load an agent model.
|
OAVCapabilityModel |
loadCapabilityModel(String name,
String[] imports,
ClassLoader classloader,
Object context)
Load a capability model.
|
clearModelCache, deregisterModel, loadModel, loadModel, registerModel
public static final String FILE_EXTENSION_AGENT
public static final String FILE_EXTENSION_CAPABILITY
public static final String FILE_EXTENSION_PROPERTIES
public static final boolean ALL_RULES
public static final String CONTEXT_OAVROOT
public OAVBDIModelLoader(Map properties, IComponentIdentifier root)
public OAVAgentModel loadAgentModel(String name, String[] imports, ClassLoader classloader, Object context) throws Exception
name
- The filename or logical name (resolved via imports and extensions).imports
- The imports, if any.Exception
public OAVCapabilityModel loadCapabilityModel(String name, String[] imports, ClassLoader classloader, Object context) throws Exception
name
- The filename or logical name (resolved via imports and extensions).imports
- The imports, if any.Exception
public void createAgentModelEntry(OAVCapabilityModel model, ModelInfo info)
Copyright © 2012. All Rights Reserved.