com.github.dreamhead.moco
Class MocoEventTrigger

java.lang.Object
  extended by com.github.dreamhead.moco.MocoEventTrigger
All Implemented Interfaces:
ConfigApplier<MocoEventTrigger>

public class MocoEventTrigger
extends java.lang.Object
implements ConfigApplier<MocoEventTrigger>


Constructor Summary
MocoEventTrigger(MocoEvent event, MocoEventAction action)
           
 
Method Summary
 MocoEventTrigger apply(MocoConfig config)
           
 void fireEvent()
           
 boolean isFor(MocoEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MocoEventTrigger

public MocoEventTrigger(MocoEvent event,
                        MocoEventAction action)
Method Detail

isFor

public boolean isFor(MocoEvent event)

fireEvent

public void fireEvent()

apply

public MocoEventTrigger apply(MocoConfig config)
Specified by:
apply in interface ConfigApplier<MocoEventTrigger>