Class BTExecuteAIProcess
java.lang.Object
overit.geocall.bl.BusinessTask<ExecuteAIProcessEvent>
overit.geocallapp.wfm.ai.bl.processing.task.BTExecuteAIProcess
- All Implemented Interfaces:
Serializable,Tool
- Direct Known Subclasses:
BTExecuteAIAgendaAffinityPrediction
@Event(ExecuteAIProcessEvent.class)
public class BTExecuteAIProcess
extends BusinessTask<ExecuteAIProcessEvent>
This task will execute an AI task associated with a configuration.
- Since:
- 9.2
- See Also:
- GCApi:
- task
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExecuteAIProcessEventInputprotected ExecuteAIProcessEventOutputprotected static final LogChannelprotected static final Stringprotected static final Stringprotected SimpleDateFormatprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbody(ExecuteAIProcessEvent event, PoolKit pk) Implements this method to write the specific task logic to handle the input parameter.protected voidcheckOutput(String error) Method that evaluate the output result from task BTBasicAIProcess.protected voidprotected voidexecuteConfiguration(BOConfigurationParams aiConfiguration, PoolKit pk) protected voidprotected voidprotected voidMethods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Field Details
-
LOG
-
TRAINING_START
- See Also:
-
TRAINING_END
- See Also:
-
PREDICTION_START
- See Also:
-
PREDICTION_END
- See Also:
-
TS_START
- See Also:
-
TS_END
- See Also:
-
eventInput
-
eventOutput
-
sdf
-
-
Constructor Details
-
BTExecuteAIProcess
public BTExecuteAIProcess()
-
-
Method Details
-
body
protected void body(ExecuteAIProcessEvent event, PoolKit pk) throws DAException, DAValidateException Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<ExecuteAIProcessEvent>- Parameters:
event- the object upon which the task will works onpk- the poolkit containing the reference to the database connection that can be used- Throws:
DAException- in case of database errorDAValidateException- in case of database validation error
-
executeConfiguration
-
executeDurationTask
- Throws:
DAExceptionDAValidateException
-
executePPartsManagementTask
- Throws:
DAExceptionDAValidateException
-
executeTeamSuggestionTask
- Throws:
DAExceptionDAValidateException
-
executeAgendaAffinityTask
- Throws:
DAExceptionDAValidateException
-
checkOutput
Method that evaluate the output result from task BTBasicAIProcess.- Parameters:
error- the String with the occurred error description
-