Package com.smartgwt.client.ai
Class WorkflowExplorationEntry
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.ai.WorkflowExplorationEntry
- All Implemented Interfaces:
HasHandlers
One entry of
explorationHistory / explorationHistory - the outcome of executing one candidate step in "exploration mode" (see explorationSettings) before it was committed to the Workflow.-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe DataSource the explored candidate step targeted.static WorkflowExplorationEntrygetOrCreateRef(JavaScriptObject jsObj) Present only whenstatusis"refused"- why the candidate step did not qualify for exploration.Present only whenstatusis"succeeded"- the number of rows the exploratory fetch returned.Present only on the most recent entry in the history array, and only whenstatusis"succeeded"- the real data returned by the exploratory fetch.One of"succeeded","failed", or"refused"(the candidate step did not qualify for exploration - seeexplorationSettings).A one-line text summary of this entry - see +link{WorkflowBuilderCoTProcess.The Task class of the explored candidate step.setDataSourceID(String dataSourceID) The DataSource the explored candidate step targeted.Present only whenstatusis"refused"- why the candidate step did not qualify for exploration.setRowCount(Integer rowCount) Present only whenstatusis"succeeded"- the number of rows the exploratory fetch returned.Present only on the most recent entry in the history array, and only whenstatusis"succeeded"- the real data returned by the exploratory fetch.One of"succeeded","failed", or"refused"(the candidate step did not qualify for exploration - seeexplorationSettings).setSummary(String summary) A one-line text summary of this entry - see +link{WorkflowBuilderCoTProcess.setTaskType(String taskType) The Task class of the explored candidate step.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
WorkflowExplorationEntry
public WorkflowExplorationEntry() -
WorkflowExplorationEntry
-
-
Method Details
-
getOrCreateRef
-
setDataSourceID
The DataSource the explored candidate step targeted.- Parameters:
dataSourceID- New dataSourceID value. Default value is null- Returns:
WorkflowExplorationEntryinstance, for chaining setter calls- See Also:
-
getDataSourceID
The DataSource the explored candidate step targeted.- Returns:
- Current dataSourceID value. Default value is null
- See Also:
-
setReason
Present only whenstatusis"refused"- why the candidate step did not qualify for exploration.- Parameters:
reason- New reason value. Default value is null- Returns:
WorkflowExplorationEntryinstance, for chaining setter calls
-
getReason
Present only whenstatusis"refused"- why the candidate step did not qualify for exploration.- Returns:
- Current reason value. Default value is null
-
setRowCount
Present only whenstatusis"succeeded"- the number of rows the exploratory fetch returned.- Parameters:
rowCount- New rowCount value. Default value is null- Returns:
WorkflowExplorationEntryinstance, for chaining setter calls
-
getRowCount
Present only whenstatusis"succeeded"- the number of rows the exploratory fetch returned.- Returns:
- Current rowCount value. Default value is null
-
setSample
Present only on the most recent entry in the history array, and only whenstatusis"succeeded"- the real data returned by the exploratory fetch. Earlier entries are trimmed tosummaryonly, so history size stays bounded regardless of how large individual result samples are.- Parameters:
sample- New sample value. Default value is null- Returns:
WorkflowExplorationEntryinstance, for chaining setter calls
-
getSample
Present only on the most recent entry in the history array, and only whenstatusis"succeeded"- the real data returned by the exploratory fetch. Earlier entries are trimmed tosummaryonly, so history size stays bounded regardless of how large individual result samples are.- Returns:
- Current sample value. Default value is null
-
setStatus
One of"succeeded","failed", or"refused"(the candidate step did not qualify for exploration - seeexplorationSettings).- Parameters:
status- New status value. Default value is null- Returns:
WorkflowExplorationEntryinstance, for chaining setter calls
-
getStatus
One of"succeeded","failed", or"refused"(the candidate step did not qualify for exploration - seeexplorationSettings).- Returns:
- Current status value. Default value is null
-
setSummary
A one-line text summary of this entry - see +link{WorkflowBuilderCoTProcess. summarizeExploration()}. Always present.- Parameters:
summary- New summary value. Default value is null- Returns:
WorkflowExplorationEntryinstance, for chaining setter calls
-
getSummary
A one-line text summary of this entry - see +link{WorkflowBuilderCoTProcess. summarizeExploration()}. Always present.- Returns:
- Current summary value. Default value is null
-
setTaskType
The Task class of the explored candidate step.- Parameters:
taskType- New taskType value. Default value is null- Returns:
WorkflowExplorationEntryinstance, for chaining setter calls- See Also:
-
getTaskType
The Task class of the explored candidate step.- Returns:
- Current taskType value. Default value is null
- See Also:
-