Home / Class/ ExcludeFilter Class — spring-boot Architecture

ExcludeFilter Class — spring-boot Architecture

Architecture documentation for the ExcludeFilter class in ExcludeFilter.java from the spring-boot codebase.

Entity Profile

Source Code

build-plugin/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/ExcludeFilter.java lines 31–51

public class ExcludeFilter extends DependencyFilter {

	public ExcludeFilter(Exclude... excludes) {
		this(Arrays.asList(excludes));
	}

	public ExcludeFilter(List<Exclude> excludes) {
		super(excludes);
	}

	@Override
	protected boolean filter(Artifact artifact) {
		for (FilterableDependency dependency : getFilters()) {
			if (equals(artifact, dependency)) {
				return true;
			}
		}
		return false;
	}

}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free