org.kuali.rice.krms.api.engine
Interface ResultEvent

All Known Implementing Classes:
BasicResult, TimingResult

public interface ResultEvent

Interface for defining ResultEvents

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
EngineResults, ResultListener

Field Summary
static String ACTION_EXECUTED
          ACTION_EXECUTED
static String PROPOSITION_EVALUATED
          PROPOSITION_EVALUATED
static String RULE_EVALUATED
          RULE_EVALUATED
static String TIMING_EVENT
          TIMING_EVENT
 
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<?,?> getResultDetails()
          Returns the result details of the ResultEvent as a Map
 Object getSource()
          Returns the source of the ResultEvent.
 org.joda.time.DateTime getTimestamp()
          Returns the org.joda.time.DateTime timestamp of the ResultEvent.
 String getType()
          Returns the type of the ResultEvent.
 

Field Detail

RULE_EVALUATED

static final String RULE_EVALUATED
RULE_EVALUATED

See Also:
Constant Field Values

PROPOSITION_EVALUATED

static final String PROPOSITION_EVALUATED
PROPOSITION_EVALUATED

See Also:
Constant Field Values

ACTION_EXECUTED

static final String ACTION_EXECUTED
ACTION_EXECUTED

See Also:
Constant Field Values

TIMING_EVENT

static final String TIMING_EVENT
TIMING_EVENT

See Also:
Constant Field Values
Method Detail

getEnvironment

ExecutionEnvironment getEnvironment()
Returns the ExecutionEnvironment of the ResultEvent.

Returns:
ExecutionEnvironment of the ResultEvent.

getType

String getType()
Returns the type of the ResultEvent.

Returns:
String of the type of ResultEvent.

getSource

Object getSource()
Returns the source of the ResultEvent.

Returns:
source as an Object of the ResultEvent.

getTimestamp

org.joda.time.DateTime getTimestamp()
Returns the org.joda.time.DateTime timestamp of the ResultEvent.

Returns:
org.joda.time.DateTime timestamp of the ResultEvent.

getResult

Boolean getResult()
Returns the Boolean result of the ResultEvent.

Returns:
Boolean result of the ResultEvent.

getDescription

String getDescription()
Returns the description of the ResultEvent as a String

Returns:
description of the ResultEvent as a String

getResultDetails

Map<?,?> getResultDetails()
Returns the result details of the ResultEvent as a Map

Returns:
result details of the ResultEvent as a Map


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.