physis.core.triggers
Class TriggerFactory

java.lang.Object
  |
  +--physis.core.triggers.TriggerFactory

public class TriggerFactory
extends java.lang.Object


Constructor Summary
TriggerFactory()
           
 
Method Summary
static Trigger getTrigger(java.lang.String trigger_data)
          Creating a trigger consists of two steps:
1.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

TriggerFactory

public TriggerFactory()
Method Detail

getTrigger

public static Trigger getTrigger(java.lang.String trigger_data)
Creating a trigger consists of two steps:
1. Instantiating the object. The first token of the trigger_data is the name of the class without the physis.core.trigger. prefix.
2. Initializing the trigger means setting the parameters (the object's fields). The trigger object should parse the second part of the trigger_data String.