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

org.tkit.quarkus.log.cdi.LogParam Maven / Gradle / Ivy

The newest version!
package org.tkit.quarkus.log.cdi;

import java.util.List;
import java.util.function.Function;

public interface LogParam {

    default List getAssignableFrom() {
        return List.of();
    }

    default List getClasses() {
        return List.of();
    }

    default Item item(int priority, Class clazz, Function fn) {
        Item item = new Item();
        item.clazz = clazz;
        item.priority = priority;
        item.fn = fn;
        return item;
    }

    class Item {

        public Class clazz;

        public Function fn;

        public int priority;

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy