zeus.rete.action
Class ReteActionFactory

java.lang.Object
  extended byzeus.rete.action.ReteActionFactory
All Implemented Interfaces:
ActionFactory

public class ReteActionFactory
extends java.lang.Object
implements ActionFactory

this class was written a an attempted response to the difficulties of understanding what is going on in the rete engine, and also in an attempt to provide a mechanism that can be used to easily extend the language without having to edit, like, 1000 files

Since:
1.1
Author:
Simon Thompson
See Also:
ActionFactory, AbstractActionFactory, ReteEngine

Field Summary
static int ACHIEVE
           
static int ASSERT
           
static int BIND
           
static int BUY
           
static int CALL
           
static int CLOSE
           
static int EXECUTE
           
static int IF
           
static int MESSAGE
           
static int MODIFY
           
static int OPEN
           
static int PRINT
           
static int PRINTLN
           
static int READ
           
static int READLN
           
static int RETRACT
           
static int SELL
           
static int SYSTEM
           
static int WHILE
           
 
Constructor Summary
ReteActionFactory()
           
 
Method Summary
 BasicAction getAction(int type)
          return an action of the appropriate type, if the type is not supported then throw a NoSuchActionException and hope it gets handled!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASSERT

public static final int ASSERT
See Also:
Constant Field Values

RETRACT

public static final int RETRACT
See Also:
Constant Field Values

MODIFY

public static final int MODIFY
See Also:
Constant Field Values

PRINT

public static final int PRINT
See Also:
Constant Field Values

MESSAGE

public static final int MESSAGE
See Also:
Constant Field Values

ACHIEVE

public static final int ACHIEVE
See Also:
Constant Field Values

BUY

public static final int BUY
See Also:
Constant Field Values

SELL

public static final int SELL
See Also:
Constant Field Values

EXECUTE

public static final int EXECUTE
See Also:
Constant Field Values

BIND

public static final int BIND
See Also:
Constant Field Values

IF

public static final int IF
See Also:
Constant Field Values

WHILE

public static final int WHILE
See Also:
Constant Field Values

OPEN

public static final int OPEN
See Also:
Constant Field Values

CLOSE

public static final int CLOSE
See Also:
Constant Field Values

READ

public static final int READ
See Also:
Constant Field Values

READLN

public static final int READLN
See Also:
Constant Field Values

SYSTEM

public static final int SYSTEM
See Also:
Constant Field Values

CALL

public static final int CALL
See Also:
Constant Field Values

PRINTLN

public static final int PRINTLN
See Also:
Constant Field Values
Constructor Detail

ReteActionFactory

public ReteActionFactory()
Method Detail

getAction

public BasicAction getAction(int type)
                      throws NoSuchActionException
return an action of the appropriate type, if the type is not supported then throw a NoSuchActionException and hope it gets handled!

Specified by:
getAction in interface ActionFactory
Throws:
NoSuchActionException


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.