public abstract class CcAnalyticsHandler
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.Object>
| Constructor and Description |
|---|
CcAnalyticsHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call() |
void |
clear()
** CcAnalyticHandler will automatically call this method at the end of the processAnalytics() method.
|
void |
createRuleCatalog(org.json.JSONArray ajsonArrayDecisionServiceRuleCatalog)
** Corticon Server will set the Rule Catalog Object into this object after execution is
completed.
|
java.util.List<CcAnalyticsHandlerMetric> |
getAssociationChanges()
Returns a List
|
java.util.List<CcAnalyticsHandlerMetric> |
getAttributeChanges()
Returns a List
|
java.lang.String |
getDecisionServiceName()
Returns the name of the Decision Service.
|
java.util.List<CcAnalyticsHandlerMetric> |
getEntityChanges()
Returns a List
|
long |
getExecutionStartTime()
Returns the start time (in millisecond) from Epoch of when the execution started.
|
long |
getExecutionTotalTime()
Returns the total time (in millisecond) this execution took to complete.
|
java.lang.Object |
getInput()
Returns the input request payload object.
|
int |
getMajorVersionNumber()
Returns the major version of the Decision Service.
|
int |
getMinorVersionNumber()
Returns the minor version of the Decision Service.
|
java.lang.Object |
getOutput()
Returns the output response payload object.
|
java.util.List<CcAnalyticsHandlerRuleCatalog> |
getRuleCatalog()
Returns a List
|
java.util.List<CcAnalyticsHandlerRuleMessage> |
getRuleMessges()
Returns a List
|
abstract void |
processAnalytics()
The only method that needs to be written by user to process the Analytics in their own way.
|
void |
setDecisionServiceName(java.lang.String astrValue)
** Corticon Server will set the name of the Decision Service into this object after execution is
completed.
|
void |
setExecutionStartTime(long alValue)
** Corticon Server will set the timestamp value (in milliseconds) of when the execution started.
|
void |
setExecutionTotalTime(long alValue)
** Corticon Server will set the total time (in milliseconds) that it took for this execution to complete.
|
void |
setInput(java.lang.Object aobjValue)
** Corticon Server will set the input request Object into this object after execution is
completed.
|
void |
setMajorVersionNumber(int aiValue)
** Corticon Server will set the major version of the Decision Service into this object after execution is
completed.
|
void |
setMinorVersionNumber(int aiValue)
** Corticon Server will set the minor version of the Decision Service into this object after execution is
completed.
|
void |
setOutput(java.lang.Object aobjValue)
** Corticon Server will set the output response Object into this object after execution is
completed.
|
public final java.lang.String getDecisionServiceName()
public final int getMajorVersionNumber()
public final int getMinorVersionNumber()
public final void setDecisionServiceName(java.lang.String astrValue)
getDecisionServiceName()public final void setMajorVersionNumber(int aiValue)
getMajorVersionNumber()public final void setMinorVersionNumber(int aiValue)
getMinorVersionNumber()public final java.lang.Object getInput()
public final java.lang.Object getOutput()
public final void setInput(java.lang.Object aobjValue)
getMajorVersionNumber()public final void setOutput(java.lang.Object aobjValue)
public final java.util.List<CcAnalyticsHandlerMetric> getEntityChanges()
public final java.util.List<CcAnalyticsHandlerMetric> getAttributeChanges()
public final java.util.List<CcAnalyticsHandlerMetric> getAssociationChanges()
public final java.util.List<CcAnalyticsHandlerRuleMessage> getRuleMessges()
public final long getExecutionStartTime()
public final long getExecutionTotalTime()
public final void setExecutionStartTime(long alValue)
getExecutionStartTime()public final void setExecutionTotalTime(long alValue)
getExecutionTotalTime()public abstract void processAnalytics()
public final java.lang.Object call()
call in interface java.util.concurrent.Callable<java.lang.Object>public final java.util.List<CcAnalyticsHandlerRuleCatalog> getRuleCatalog()
public final void createRuleCatalog(org.json.JSONArray ajsonArrayDecisionServiceRuleCatalog)
#getRuleCatatlog()public final void clear()
Copyright © 2005-2023 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.