|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.kuali.rice.krms.framework.engine.result.BasicResult
public class BasicResult
An implementation of ResultEvent
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 |
---|
ACTION_EXECUTED, PROPOSITION_EVALUATED, RULE_EVALUATED, TIMING_EVENT |
Constructor Summary | |
---|---|
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 |
Method Summary | |
---|---|
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()
|
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 |
---|
protected String type
protected org.joda.time.DateTime timestamp
protected ExecutionEnvironment environment
protected Boolean result
protected String description
protected Map<String,?> resultDetails
Constructor Detail |
---|
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
- ExecutionEnvironment
result
- 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
- ExecutionEnvironment
result
- 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
- ExecutionEnvironment
result
- boolean of the ResultEventpublic BasicResult(String eventType, Object source, ExecutionEnvironment environment, boolean result)
eventType
- String of the ResultEventsource
- Object of the ResultEventenvironment
- ExecutionEnvironment
result
- boolean of the ResultEventpublic BasicResult(String eventType, Object source, ExecutionEnvironment environment)
eventType
- String of the ResultEventsource
- Object of the ResultEventenvironment
- ExecutionEnvironment
Method Detail |
---|
public String getType()
ResultEvent
getType
in interface ResultEvent
public org.joda.time.DateTime getTimestamp()
ResultEvent
getTimestamp
in interface ResultEvent
public ExecutionEnvironment getEnvironment()
ResultEvent
ExecutionEnvironment
of the ResultEvent.
getEnvironment
in interface ResultEvent
ExecutionEnvironment
of the ResultEvent.public Boolean getResult()
ResultEvent
getResult
in interface ResultEvent
public String getDescription()
ResultEvent
getDescription
in interface ResultEvent
public Map<String,?> getResultDetails()
getResultDetails
in interface ResultEvent
public String toString()
toString
in class EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |