roboplayer.fsm
Class ConditionFactory

java.lang.Object
  |
  +--roboplayer.fsm.ConditionFactory

public class ConditionFactory
extends java.lang.Object

This class represents factory which can be used to create condition.

Version:
1.0
Author:
Krzysztof Langner

Constructor Summary
ConditionFactory()
           
 
Method Summary
 Condition createCondition(java.lang.String name)
          Create condtion
 void register(java.lang.String name, java.lang.String className)
          Register condtion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionFactory

public ConditionFactory()
Method Detail

register

public void register(java.lang.String name,
                     java.lang.String className)
Register condtion

Parameters:
name - condtion name
className - condtion class name

createCondition

public Condition createCondition(java.lang.String name)
Create condtion

Parameters:
name - condtion name
Returns:
conditions or null