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

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

public class BasicResult
extends EventObject
implements ResultEvent

See Also:
Serialized Form

Field Summary
protected  String description
           
protected  ExecutionEnvironment environment
           
protected  Boolean result
           
protected  Map<String,?> resultDetails
           
protected  org.joda.time.DateTime timestamp
           
protected  String type
           
 
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
BasicResult(Map<String,?> resultDetails, String eventType, Object source, ExecutionEnvironment environment, boolean result)
           
BasicResult(Map<String,?> resultDetails, String description, String eventType, Object source, ExecutionEnvironment environment, boolean result)
           
BasicResult(String eventType, Object source, ExecutionEnvironment environment)
           
BasicResult(String eventType, Object source, ExecutionEnvironment environment, boolean result)
           
BasicResult(String description, String eventType, Object source, ExecutionEnvironment environment, boolean result)
           
 
Method Summary
 String getDescription()
           
 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
 

Field Detail

type

protected String type

timestamp

protected org.joda.time.DateTime timestamp

environment

protected ExecutionEnvironment environment

result

protected Boolean result

description

protected String description

resultDetails

protected Map<String,?> resultDetails
Constructor Detail

BasicResult

public BasicResult(Map<String,?> resultDetails,
                   String eventType,
                   Object source,
                   ExecutionEnvironment environment,
                   boolean result)

BasicResult

public BasicResult(Map<String,?> resultDetails,
                   String description,
                   String eventType,
                   Object source,
                   ExecutionEnvironment environment,
                   boolean result)

BasicResult

public BasicResult(String description,
                   String eventType,
                   Object source,
                   ExecutionEnvironment environment,
                   boolean result)

BasicResult

public BasicResult(String eventType,
                   Object source,
                   ExecutionEnvironment environment,
                   boolean result)

BasicResult

public BasicResult(String eventType,
                   Object source,
                   ExecutionEnvironment environment)
Method Detail

getType

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

getTimestamp

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

getEnvironment

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

getResult

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

getDescription

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

getResultDetails

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

toString

public String toString()
Overrides:
toString in class EventObject


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