
com.cookingfox.chefling.impl.helper.CommandContainerMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chefling-di-java Show documentation
Show all versions of chefling-di-java Show documentation
Chefling is a very minimal dependency injection container written in pure Java.
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