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

io.quarkus.devui.spi.buildtime.BuildTimeAction Maven / Gradle / Ivy

package io.quarkus.devui.spi.buildtime;

import java.util.Map;
import java.util.function.Function;

/**
 * Define a action that can be executed against the deployment classpath in runtime
 * This means a call will still be make with Json-RPC to the backend, but fall through to this action
 */
public class BuildTimeAction {

    private final String methodName;
    private final Function, ?> action;

    protected  BuildTimeAction(String methodName,
            Function, T> action) {

        this.methodName = methodName;
        this.action = action;

    }

    public String getMethodName() {
        return methodName;
    }

    public Function, ?> getAction() {
        return action;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy