Class BasicResult
java.lang.Object
java.util.EventObject
org.kuali.rice.krms.framework.engine.result.BasicResult
- All Implemented Interfaces:
Serializable,ResultEvent
An implementation of
ResultEvent- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ExecutionEnvironmentprotected Booleanprotected org.joda.time.DateTimeprotected StringFields inherited from class java.util.EventObject
sourceFields inherited from interface org.kuali.rice.krms.api.engine.ResultEvent
ACTION_EXECUTED, PROPOSITION_EVALUATED, RULE_EVALUATED, TIMING_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionBasicResult(String eventType, Object source, ExecutionEnvironment environment) ConstructorBasicResult(String eventType, Object source, ExecutionEnvironment environment, boolean result) ConstructorBasicResult(String description, String eventType, Object source, ExecutionEnvironment environment, boolean result) ConstructorBasicResult(Map<String, ?> resultDetails, String eventType, Object source, ExecutionEnvironment environment, boolean result) ConstructorBasicResult(Map<String, ?> resultDetails, String description, String eventType, Object source, ExecutionEnvironment environment, boolean result) Constructor -
Method Summary
Methods inherited from class java.util.EventObject
getSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.krms.api.engine.ResultEvent
getSource
-
Field Details
-
type
-
timestamp
protected org.joda.time.DateTime timestamp -
environment
-
result
-
description
-
resultDetails
-
-
Constructor Details
-
BasicResult
public BasicResult(Map<String, ?> resultDetails, String eventType, Object source, ExecutionEnvironment environment, boolean result) Constructor- Parameters:
resultDetails- of the ResultEventeventType- String of the ResultEventsource- Object of the ResultEventenvironment-ExecutionEnvironmentresult- boolean of the ResultEvent
-
BasicResult
public BasicResult(Map<String, ?> resultDetails, String description, String eventType, Object source, ExecutionEnvironment environment, boolean result) Constructor- Parameters:
resultDetails- of the ResultEventdescription- String of the ResultEventeventType- String of the ResultEventsource- Object of the ResultEventenvironment-ExecutionEnvironmentresult- boolean of the ResultEvent
-
BasicResult
public BasicResult(String description, String eventType, Object source, ExecutionEnvironment environment, boolean result) Constructor- Parameters:
description- String of the ResultEventeventType- String of the ResultEventsource- Object of the ResultEventenvironment-ExecutionEnvironmentresult- boolean of the ResultEvent
-
BasicResult
public BasicResult(String eventType, Object source, ExecutionEnvironment environment, boolean result) Constructor- Parameters:
eventType- String of the ResultEventsource- Object of the ResultEventenvironment-ExecutionEnvironmentresult- boolean of the ResultEvent
-
BasicResult
Constructor- Parameters:
eventType- String of the ResultEventsource- Object of the ResultEventenvironment-ExecutionEnvironment
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceResultEvent
-
getTimestamp
public org.joda.time.DateTime getTimestamp()- Specified by:
getTimestampin interfaceResultEvent
-
getEnvironment
- Specified by:
getEnvironmentin interfaceResultEvent
-
getResult
- Specified by:
getResultin interfaceResultEvent
-
getDescription
- Specified by:
getDescriptionin interfaceResultEvent
-
getResultDetails
Returns the result details of the ResultEvent as an unmodifiable Mapinvalid input: '<'?,?>- Specified by:
getResultDetailsin interfaceResultEvent- Returns:
- result details of the ResultEvent as an unmodifiable Mapinvalid input: '<'?,?>
-
toString
- Overrides:
toStringin classEventObject
-