org.kuali.rice.krms.framework.engine.result
Class TimingResult

java.lang.Object
  extended by java.util.EventObject
      extended by org.kuali.rice.krms.framework.engine.result.TimingResult
All Implemented Interfaces:
Serializable, ResultEvent

public class TimingResult
extends EventObject
implements ResultEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Fields inherited from interface org.kuali.rice.krms.api.engine.ResultEvent
ActionExecuted, PropositionEvaluated, RuleEvaluated, TimingEvent
 
Constructor Summary
TimingResult(String type, Object source, ExecutionEnvironment environment, org.joda.time.DateTime start, org.joda.time.DateTime end)
           
TimingResult(String description, String type, Object source, ExecutionEnvironment environment, org.joda.time.DateTime start, org.joda.time.DateTime end)
           
 
Method Summary
 String getDescription()
           
 Long getElapsedTimeInMilliseconds()
           
 ExecutionEnvironment getEnvironment()
           
 Boolean getResult()
           
 Map<String,?> getResultDetails()
           
 org.joda.time.DateTime getTimestamp()
           
 String getType()
           
 String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.krms.api.engine.ResultEvent
getSource
 

Constructor Detail

TimingResult

public TimingResult(String description,
                    String type,
                    Object source,
                    ExecutionEnvironment environment,
                    org.joda.time.DateTime start,
                    org.joda.time.DateTime end)

TimingResult

public TimingResult(String type,
                    Object source,
                    ExecutionEnvironment environment,
                    org.joda.time.DateTime start,
                    org.joda.time.DateTime end)
Method Detail

getElapsedTimeInMilliseconds

public Long getElapsedTimeInMilliseconds()

getEnvironment

public ExecutionEnvironment getEnvironment()
Specified by:
getEnvironment in interface ResultEvent

toString

public String toString()
Overrides:
toString in class EventObject

getResult

public Boolean getResult()
Specified by:
getResult in interface ResultEvent

getTimestamp

public org.joda.time.DateTime getTimestamp()
Specified by:
getTimestamp in interface ResultEvent

getType

public String getType()
Specified by:
getType in interface ResultEvent

getResultDetails

public Map<String,?> getResultDetails()
Specified by:
getResultDetails in interface ResultEvent

getDescription

public String getDescription()
Specified by:
getDescription in interface ResultEvent


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.