All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.soffa.foundation.spring.handler.DoProcessHookItem Maven / Gradle / Ivy

There is a newer version: 0.17.31
Show newest version
package dev.soffa.foundation.spring.handler;

import dev.soffa.foundation.context.OperationContext;
import dev.soffa.foundation.core.HookService;
import dev.soffa.foundation.core.action.ProcessHookItem;
import dev.soffa.foundation.core.model.ProcessHookItemInput;
import lombok.AllArgsConstructor;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.springframework.stereotype.Component;

@Component
@AllArgsConstructor
public class DoProcessHookItem implements ProcessHookItem {

    private HookService hooks;
    @Override
    public Void handle(ProcessHookItemInput input, @NonNull OperationContext ctx) {
        hooks.process(ctx.getInternal(), input);
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy