canDel () |
Returns true if the object could be deleted (is not used) |
clone () |
Creates a clone (an exact copy) of this task |
findFTWholeCedentSetting () |
Tries to look-up a FTWholeCedentSetting with a unique property given as parameter. Just one parameter has to be specified. Returns nil if FTWholeCedentSetting with this property doesn't exists. |
findHypothesis () |
Tries to look-up a Hypothesis with a unique property given as parameter. Just one parameter has to be specified. Returns nil if Hypothesis with this property doesn't exists. |
findHypothesisGroup () |
Tries to look-up a HypothesisGroup with a unique property given as parameter. Just one parameter has to be specified. Returns nil if HypothesisGroup with this property doesn't exists. |
getDataTable () |
Returns the DataTable this task is based on, the value of DataTable property |
getFTWholeCedentSettingCount () |
Returns number of whole cedents in this task |
getHypothesisCount () |
Returns number of hypotheses in this task (if the value of TaskGenerationStatus property is equal or greater then Running, see TaskGenerationStatus codes |
getHypothesisCountMax () |
Returns the value of HypothesisCountMax property |
getHypothesisGroupCount () |
Returns number of groups of hypotheses in this task |
getID () |
Returns unique identifier (primary key) of the object |
getName () |
Returns the value of Name property, name of this object |
getNote () |
Returns the value of Note property |
getTaskGenerationStatus () |
Returns the value of TaskGenerationStatus property |
getTaskGenerationStatusStr () |
Returns textual description of the value of TaskGenerationStatus property |
getTaskGroup () |
Returns the TaskGroup this task belongs to, the value of TaskGroup property |
getTaskSubTypeCode () |
Returns code of sub-type of this task (type of patterns it looks for), see TaskSubType codes |
getTaskSubTypeKey () |
Returns unique string key of sub-type of this task (type of patterns it looks for) |
getTaskSubTypeName () |
Returns string representation of sub-type of this task (type of patterns it looks for) |
isDisabledFlag () |
Returns the value of DisabledFlag property |
isTaskGenerationStatusFinished () |
Returns true when the value of TaskGenerationStatus property is Solved, Interrupted or Failed |
isTaskGenerationStatusInProcess () |
Returns true when the value of TaskGenerationStatus property is Request, Waiting or Running |
onAdd () |
Store the newly created object into metabase |
onDel () |
Delete the object from metabase (fails if canDel returns false) |
onUpdate () |
Save changes made to the object into metabase |
prepareFTWholeCedentSettingArray () |
Returns array of FTWholeCedentSettings (the whole cedents in this task) |
prepareHypothesisArray () |
Returns array of hypotheses in this task. Returns objects of a descendant class corresponding to this task type (ie. HypothesisFT for TaskFT etc.) |
prepareHypothesisGroupArray () |
Returns array of groups of hypotheses in this task |
queryTaskGenerationStatus () |
Re-reads the task state from metabase and returns 1 if the the state has changed from isTaskGenerationStatusInProcess to isTaskGenerationStatusFinished, otherwise returns 0 |
runAndWaitForResults () |
Starts the data-mining task and waits till it has finished |
runAsync () |
Starts the task (if not already in isTaskGenerationStatusInProcess) in a parallel thread and returns immediately |
setDisabledFlag () |
Sets the value of DisabledFlag property |
setHypothesisCountMax () |
Sets the value of HypothesisCountMax property |
setName () |
Sets the value of Name property, name of this object (must be unique) |
setNote () |
Sets the value of Note property |
setTaskGroup () |
Sets the TaskGroup this task belongs to, the value of TaskGroup property |
waitForResults () |
Waits till the task state changes to isTaskGenerationStatusFinished |