public class IlrBusinessExecutionTrace extends java.lang.Object implements IlrExecutionTrace
IlrBusinessExecutionTrace is a wrapper for
IlrExecutionTrace.
This class adds convenience methods for the business names of tasks and
rules.| Modifier and Type | Field and Description |
|---|---|
protected IlrExecutionTrace |
trace |
| Constructor and Description |
|---|
IlrBusinessExecutionTrace(IlrExecutionTrace trace)
Builds a new
IlrBusinessExecutionTrace instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRuleFiredBusinessNames(java.util.List<IlrExecutionEvent> executionEvents,
java.util.List<java.lang.String> firedRuleBusinessNames) |
protected void |
addTaskExecutedBusinessNames(java.util.List<IlrExecutionEvent> events,
java.util.List<java.lang.String> executedTaskBusinessNames) |
java.util.Set<java.lang.String> |
getAllRuleBusinessNames()
Returns the business names of all the rules in the ruleset.
|
java.util.Set<java.lang.String> |
getAllTaskBusinessNames()
Returns the business names for all tasks in the ruleset.
|
java.util.Set<java.lang.String> |
getdRuleNotFiredBusinessNames()
Returns the business names for the rules that have not been executed.
|
java.util.Date |
getExecutionDate()
Returns the execution date.
|
java.lang.Long |
getExecutionDuration()
Returns the execution duration in milliseconds.
|
java.util.List<IlrExecutionEvent> |
getExecutionEvents()
Returns the list of executed rules and tasks.
|
java.net.InetAddress |
getInetAddress()
Returns the internet address of the host where the execution trace is retrieved.
|
java.util.List<java.lang.String> |
getRuleFiredBusinessNames()
Returns the list of the business names for the rules fired.
|
java.util.Map<java.lang.String,IlrRuleInformation> |
getRules()
Returns the ruleset rules by name.
|
java.util.Set<IlrRuleInformation> |
getRulesNotFired()
Returns the rule information for the rules that were not fired.
|
java.util.Properties |
getSystemProperties()
Returns the system properties of the execution environment.
|
java.util.List<java.lang.String> |
getTaskExecutedBusinessNames()
Returns the list of the business names for the executed task.
|
java.util.Set<java.lang.String> |
getTaskNotExecutedBusinessNames()
Returns the business names for the tasks that have not been executed.
|
java.util.Map<java.lang.String,IlrTaskInformation> |
getTasks()
Returns the ruleset tasks by name.
|
java.util.Set<IlrTaskInformation> |
getTasksNotExecuted()
Returns the task information for the tasks that were not executed.
|
java.lang.Long |
getTotalRulesFired()
Returns the number of rules fired.
|
java.lang.Long |
getTotalRulesNotFired()
Returns the number of rules that have not fired.
|
java.lang.Long |
getTotalTasksExecuted()
Returns the number of tasks executed.
|
java.lang.Long |
getTotalTasksNotExecuted()
Returns the number of tasks not executed.
|
java.util.Collection<java.lang.Object> |
getWorkingMemory()
Returns the working memory as a
Collection. |
protected IlrExecutionTrace trace
public IlrBusinessExecutionTrace(IlrExecutionTrace trace)
IlrBusinessExecutionTrace instance.trace - The execution trace to wrap in this object.public java.util.Set<java.lang.String> getTaskNotExecutedBusinessNames()
public java.util.Set<java.lang.String> getdRuleNotFiredBusinessNames()
public java.util.Set<java.lang.String> getAllRuleBusinessNames()
public java.util.Set<java.lang.String> getAllTaskBusinessNames()
public java.util.List<java.lang.String> getRuleFiredBusinessNames()
IlrExecutionTrace
object.public java.util.List<java.lang.String> getTaskExecutedBusinessNames()
IlrExecutionTrace
object.protected void addRuleFiredBusinessNames(java.util.List<IlrExecutionEvent> executionEvents, java.util.List<java.lang.String> firedRuleBusinessNames)
protected void addTaskExecutedBusinessNames(java.util.List<IlrExecutionEvent> events, java.util.List<java.lang.String> executedTaskBusinessNames)
public java.util.Map<java.lang.String,IlrRuleInformation> getRules()
IlrExecutionTracegetRules in interface IlrExecutionTracenull is returned.public java.util.Map<java.lang.String,IlrTaskInformation> getTasks()
IlrExecutionTracegetTasks in interface IlrExecutionTracenull is returned.public java.util.Date getExecutionDate()
IlrExecutionTracegetExecutionDate in interface IlrExecutionTracenull is returned.public java.lang.Long getExecutionDuration()
IlrExecutionTracegetExecutionDuration in interface IlrExecutionTracenull is returned.public java.util.List<IlrExecutionEvent> getExecutionEvents()
IlrExecutionTracegetExecutionEvents in interface IlrExecutionTracenull is returned.public java.net.InetAddress getInetAddress()
IlrExecutionTracegetInetAddress in interface IlrExecutionTracenull is returned.public java.util.Set<IlrRuleInformation> getRulesNotFired()
IlrExecutionTracegetRulesNotFired in interface IlrExecutionTraceIlrRuleInformation objects for the rules
that were not fired. If this information is not
available, null is returned.public java.util.Properties getSystemProperties()
IlrExecutionTracegetSystemProperties in interface IlrExecutionTracenull is returned.public java.util.Set<IlrTaskInformation> getTasksNotExecuted()
IlrExecutionTracegetTasksNotExecuted in interface IlrExecutionTraceIlrTaskInformation objects for the tasks
that were not executed. If this information is not available,
null is returned.public java.lang.Long getTotalRulesFired()
IlrExecutionTracegetTotalRulesFired in interface IlrExecutionTracenull is returned.public java.lang.Long getTotalRulesNotFired()
IlrExecutionTracegetTotalRulesNotFired in interface IlrExecutionTracenull is returned.public java.lang.Long getTotalTasksExecuted()
IlrExecutionTracegetTotalTasksExecuted in interface IlrExecutionTracenull is returned.public java.lang.Long getTotalTasksNotExecuted()
IlrExecutionTracegetTotalTasksNotExecuted in interface IlrExecutionTracenull is returned.public java.util.Collection<java.lang.Object> getWorkingMemory()
IlrExecutionTraceCollection.getWorkingMemory in interface IlrExecutionTracenull is returned.© Copyright IBM Corp. 1987, 2017