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

com.cookingfox.chefling.impl.helper.CommandContainerMatcher Maven / Gradle / Ivy

Go to download

Chefling is a very minimal dependency injection container written in pure Java.

There is a newer version: 7.1.1
Show newest version
package com.cookingfox.chefling.impl.helper;

import com.cookingfox.chefling.impl.command.CommandContainer;

/**
 * Interface for matching a collection of {@link CommandContainer} instances. Can be used to find
 * one element in a composite tree of containers.
 */
public interface CommandContainerMatcher {

    /**
     * Specify a condition to match the container instance.
     *
     * @param container Current container instance.
     * @return Result to indicate whether the container matches the condition.
     */
    boolean matches(CommandContainer container);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy