Class AbstractCheckerBusinessTask<I>
java.lang.Object
overit.geocall.bl.BusinessTask<CheckerEvent<I>>
overit.geocallapp.utilities.core.bl.common.check.checker.task.AbstractCheckerBusinessTask<I>
- All Implemented Interfaces:
Serializable,Tool
- Direct Known Subclasses:
BTCrewShellCompositionCheckValidation,BTCrewShellViolationOnTeamShiftCheckInsert,BTDataCollectionCheckGlobalExpressions,BTDataCollectionTemplateCheckExpressions,ValidExecutionAbstractCheckerBusinessTask
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCheckIssuesToCheckResult(CheckerEvent<I> event, List<CheckIssue> checkIssues) protected voidbody(CheckerEvent<I> event, PoolKit poolKit) Implements this method to write the specific task logic to handle the input parameter.protected abstract List<CheckIssue> computeCheckIssues(I inputElement, PoolKit poolKit) Method to be implemented to perform checks on the given inputElement and return the respective check issuesprotected voidinitCheckResult(CheckerEvent<I> event) Methods inherited from class overit.geocall.bl.BusinessTask
start, start, startAlone, startInBackground
-
Constructor Details
-
AbstractCheckerBusinessTask
public AbstractCheckerBusinessTask()
-
-
Method Details
-
body
Description copied from class:BusinessTaskImplements this method to write the specific task logic to handle the input parameter.- Specified by:
bodyin classBusinessTask<CheckerEvent<I>>- Parameters:
event- the object upon which the task will works onpoolKit- 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
-
computeCheckIssues
protected abstract List<CheckIssue> computeCheckIssues(I inputElement, PoolKit poolKit) throws DAException, DAValidateException Method to be implemented to perform checks on the given inputElement and return the respective check issues- Parameters:
inputElement-poolKit-- Returns:
- the list of CheckIssue (list could be empty but cannot be null)
- Throws:
DAExceptionDAValidateException
-
initCheckResult
-
addCheckIssuesToCheckResult
-