Package repast.simphony.engine.watcher
Class ArgMatcher
- java.lang.Object
-
- repast.simphony.engine.watcher.ArgMatcher
-
public class ArgMatcher extends Object
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
-
Field Summary
Fields Modifier and Type Field Description protected int
dataIndex
protected int
fieldIndex
protected WatchData
watchData
protected int
watcheeIndex
-
Constructor Summary
Constructors Constructor Description ArgMatcher(WatchData watch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description repast.simphony.engine.watcher.NotifierTrigger
createTrigger(CallBackAction action)
int
getArgCount()
boolean
match(Method method, String watcheeName, String fieldNames)
-
-
-
Field Detail
-
watcheeIndex
protected int watcheeIndex
-
dataIndex
protected int dataIndex
-
fieldIndex
protected int fieldIndex
-
watchData
protected WatchData watchData
-
-
Constructor Detail
-
ArgMatcher
public ArgMatcher(WatchData watch)
-
-
Method Detail
-
createTrigger
public repast.simphony.engine.watcher.NotifierTrigger createTrigger(CallBackAction action)
-
match
public boolean match(Method method, String watcheeName, String fieldNames) throws ClassNotFoundException, NoSuchFieldException
-
getArgCount
public int getArgCount()
-
-