Package com.avoka.fc.core.service.job
Interface IJobActionService
-
- All Known Implementing Classes:
AbstractJobActionService
,FluentJobActionService
,GroovyJobActionService
,JobActionWaitService
,JobDeliveryService
,JobDeliveryWaitService
,JobFormStartService
,JobProcessMessageService
,JobReceiptWaitService
,JobTaskAssignService
,JobTaskWaitService
public interface IJobActionService
Provides a Job Action and Expiry service interface.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActionResult
execute(ActionContext actionContext)
Execute the action and return the result.Integer
getMaxErrorRetryAttempts()
Return the maximum number of error retry attempts should be performed.Integer
getRetryDelayMins()
Return the minimum action execute retry delay in minutes.String
validateProperties(ActionStepProperties actionStepProperties, Client client)
Validate the action service using the given action step service properties, returning null if valid or an error string otherwise.
-
-
-
Method Detail
-
execute
ActionResult execute(ActionContext actionContext)
Execute the action and return the result.- Parameters:
actionContext
- the job action execution context (required)- Returns:
- the action result
-
validateProperties
String validateProperties(ActionStepProperties actionStepProperties, Client client)
Validate the action service using the given action step service properties, returning null if valid or an error string otherwise.- Parameters:
actionStepProperties
- the action step properties (required)client
- the Job Controller client (required)- Returns:
- null if the properties are valid or null otherwise
-
getMaxErrorRetryAttempts
Integer getMaxErrorRetryAttempts()
Return the maximum number of error retry attempts should be performed.- Returns:
- the maximum number of error retry attempts should be performed
-
getRetryDelayMins
Integer getRetryDelayMins()
Return the minimum action execute retry delay in minutes.- Returns:
- the minimum action execute retry delay in minutes
-
-