public class

RuleModule

extends AbstractModule
java.lang.Object
   ↳ com.google.inject.AbstractModule
     ↳ uk.ac.imperial.presage2.rules.RuleModule

Class Overview

Binds RuleStorage with a set of DRL files to initially load into the engine as well as StateTranslators and AgentStateTranslators to use for shared state.

Summary

Public Constructors
RuleModule()
Public Methods
RuleModule addAgentStateTranslator(Class<? extends AgentStateTranslator> clazz)
RuleModule addClasspathDrlFile(String fileName)
RuleModule addStateTranslator(Class<? extends StateTranslator> clazz)
Protected Methods
void configure()
[Expand]
Inherited Methods
From class com.google.inject.AbstractModule
From class java.lang.Object
From interface com.google.inject.Module

Public Constructors

public RuleModule ()

Public Methods

public RuleModule addAgentStateTranslator (Class<? extends AgentStateTranslator> clazz)

public RuleModule addClasspathDrlFile (String fileName)

public RuleModule addStateTranslator (Class<? extends StateTranslator> clazz)

Protected Methods

protected void configure ()