Class ActionConfiguration

    • Field Detail

      • actionType

        protected final ActionType actionType
      • type

        protected final java.lang.String type
      • parameters

        protected java.util.Map<java.lang.String,​java.lang.Object> parameters
    • Constructor Detail

      • ActionConfiguration

        public ActionConfiguration​(java.lang.String name,
                                   ActionType actionType,
                                   java.lang.String type)
    • Method Detail

      • buildActionInput

        public ActionInput buildActionInput​(DeltaFile deltaFile,
                                            java.lang.String systemName,
                                            java.lang.String egressFlow)
        Create the ActionInput that should be sent to an Action
        Parameters:
        deltaFile - DeltaFile that will be acted upon
        systemName - system name to set in context
        egressFlow - the egress flow for this action
        Returns:
        ActionInput containing the ActionConfiguration
      • validate

        public java.util.List<java.lang.String> validate​(ActionDescriptor actionDescriptor)
        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

        public java.util.List<java.lang.String> validateType​(ActionDescriptor actionDescriptor)