gate.fsm
Class RuleTime

java.lang.Object
  extended by gate.fsm.RuleTime

public class RuleTime
extends Object

Author:
andrew

Field Summary
private  String ruleName
           
private  long timeSpent
           
 
Constructor Summary
RuleTime(long my_timeSpent, String my_ruleName)
           
 
Method Summary
 long addTime(long additionalTime)
           
 String getRuleName()
           
 long getTimeSpent()
           
 void setTimeSpent(long timeSpent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeSpent

private long timeSpent

ruleName

private final String ruleName
Constructor Detail

RuleTime

RuleTime(long my_timeSpent,
         String my_ruleName)
Method Detail

getTimeSpent

public long getTimeSpent()

setTimeSpent

public void setTimeSpent(long timeSpent)

addTime

public long addTime(long additionalTime)

getRuleName

public String getRuleName()