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
Modifier and TypeMethodDescriptionexecute
(ActionContext actionContext) Execute the action and return the result.Return the maximum number of error retry attempts should be performed.Return the minimum action execute retry delay in minutes.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 Details
-
execute
Execute the action and return the result.- Parameters:
actionContext
- the job action execution context (required)- Returns:
- the action result
-
validateProperties
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
-