Package org.deltafi.common.types
Class ActionConfiguration
java.lang.Object
org.deltafi.common.types.DeltaFiConfiguration
org.deltafi.common.types.ActionConfiguration
- Direct Known Subclasses:
EgressActionConfiguration,LoadActionConfiguration,RequiresDomainsActionConfiguration,TransformActionConfiguration,ValidateActionConfiguration
-
Field Summary
FieldsFields inherited from class org.deltafi.common.types.DeltaFiConfiguration
apiVersion, name -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedActionConfiguration(String name, ActionType actionType, String type) -
Method Summary
Modifier and TypeMethodDescriptionbuildActionInput(String flow, DeltaFile deltaFile, String systemName, String egressFlow, String returnAddress, OffsetDateTime actionCreated, Action action) Create the ActionInput that should be sent to an Actionvalidate(ActionDescriptor actionDescriptor) Validates this action configuration.validateType(ActionDescriptor actionDescriptor)
-
Field Details
-
actionType
-
type
-
internalParameters
-
parameters
-
-
Constructor Details
-
ActionConfiguration
-
-
Method Details
-
buildActionInput
public ActionInput buildActionInput(String flow, DeltaFile deltaFile, String systemName, String egressFlow, String returnAddress, OffsetDateTime actionCreated, Action action) Create the ActionInput that should be sent to an Action- Parameters:
flow- the flow on which the Action is specifieddeltaFile- DeltaFile that will be acted uponsystemName- system name to set in contextegressFlow- the egress flow for this actionreturnAddress- the unique address of this core instance- Returns:
- ActionInput containing the ActionConfiguration
-
validate
Validates this action configuration.- Parameters:
actionDescriptor- action descriptor to be validated against- Returns:
- a List of validation errors or an empty list if there are no errors
-
validateType
-