public class BasicResult extends EventObject implements ResultEvent
ResultEvent| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected ExecutionEnvironment |
environment |
protected Boolean |
result |
protected Map<String,?> |
resultDetails |
protected org.joda.time.DateTime |
timestamp |
protected String |
type |
sourceACTION_EXECUTED, PROPOSITION_EVALUATED, RULE_EVALUATED, TIMING_EVENT| Constructor and Description |
|---|
BasicResult(Map<String,?> resultDetails,
String eventType,
Object source,
ExecutionEnvironment environment,
boolean result)
Constructor
|
BasicResult(Map<String,?> resultDetails,
String description,
String eventType,
Object source,
ExecutionEnvironment environment,
boolean result)
Constructor
|
BasicResult(String eventType,
Object source,
ExecutionEnvironment environment)
Constructor
|
BasicResult(String eventType,
Object source,
ExecutionEnvironment environment,
boolean result)
Constructor
|
BasicResult(String description,
String eventType,
Object source,
ExecutionEnvironment environment,
boolean result)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description of the ResultEvent as a String
|
ExecutionEnvironment |
getEnvironment()
Returns the
ExecutionEnvironment of the ResultEvent. |
Boolean |
getResult()
Returns the Boolean result of the ResultEvent.
|
Map<String,?> |
getResultDetails()
Returns the result details of the ResultEvent as an unmodifiable Map,?>
|
org.joda.time.DateTime |
getTimestamp()
Returns the org.joda.time.DateTime timestamp of the ResultEvent.
|
String |
getType()
Returns the type of the ResultEvent.
|
String |
toString() |
getSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSourceprotected org.joda.time.DateTime timestamp
protected ExecutionEnvironment environment
protected String description
protected Map<String,?> resultDetails
public BasicResult(Map<String,?> resultDetails, String eventType, Object source, ExecutionEnvironment environment, boolean result)
resultDetails - of the ResultEventeventType - String of the ResultEventsource - Object of the ResultEventenvironment - ExecutionEnvironmentresult - boolean of the ResultEventpublic BasicResult(Map<String,?> resultDetails, String description, String eventType, Object source, ExecutionEnvironment environment, boolean result)
resultDetails - of the ResultEventdescription - String of the ResultEventeventType - String of the ResultEventsource - Object of the ResultEventenvironment - ExecutionEnvironmentresult - boolean of the ResultEventpublic BasicResult(String description, String eventType, Object source, ExecutionEnvironment environment, boolean result)
description - String of the ResultEventeventType - String of the ResultEventsource - Object of the ResultEventenvironment - ExecutionEnvironmentresult - boolean of the ResultEventpublic BasicResult(String eventType, Object source, ExecutionEnvironment environment, boolean result)
eventType - String of the ResultEventsource - Object of the ResultEventenvironment - ExecutionEnvironmentresult - boolean of the ResultEventpublic BasicResult(String eventType, Object source, ExecutionEnvironment environment)
eventType - String of the ResultEventsource - Object of the ResultEventenvironment - ExecutionEnvironmentpublic String getType()
ResultEventgetType in interface ResultEventpublic org.joda.time.DateTime getTimestamp()
ResultEventgetTimestamp in interface ResultEventpublic ExecutionEnvironment getEnvironment()
ResultEventExecutionEnvironment of the ResultEvent.getEnvironment in interface ResultEventExecutionEnvironment of the ResultEvent.public Boolean getResult()
ResultEventgetResult in interface ResultEventpublic String getDescription()
ResultEventgetDescription in interface ResultEventpublic Map<String,?> getResultDetails()
getResultDetails in interface ResultEventpublic String toString()
toString in class EventObjectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.