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() |
ExecutionEnvironment |
getEnvironment() |
Boolean |
getResult() |
Map<String,?> |
getResultDetails()
Returns the result details of the ResultEvent as an unmodifiable Map,?>
|
org.joda.time.DateTime |
getTimestamp() |
String |
getType() |
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()
getType in interface ResultEventpublic org.joda.time.DateTime getTimestamp()
getTimestamp in interface ResultEventpublic ExecutionEnvironment getEnvironment()
getEnvironment in interface ResultEventpublic Boolean getResult()
getResult in interface ResultEventpublic String getDescription()
getDescription in interface ResultEventpublic Map<String,?> getResultDetails()
getResultDetails in interface ResultEventpublic String toString()
toString in class EventObjectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.