Home / Class/ ShareAntlibLoader Class — spring-boot Architecture

ShareAntlibLoader Class — spring-boot Architecture

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

Entity Profile

Source Code

build-plugin/spring-boot-antlib/src/main/java/org/springframework/boot/ant/ShareAntlibLoader.java lines 32–52

public class ShareAntlibLoader extends Task {

	private @Nullable String refid;

	public ShareAntlibLoader(Project project) {
		setProject(project);
	}

	@Override
	public void execute() throws BuildException {
		if (!StringUtils.hasText(this.refid)) {
			throw new BuildException("@refid has no text");
		}
		getProject().addReference(this.refid, getClass().getClassLoader());
	}

	public void setRefid(@Nullable String refid) {
		this.refid = refid;
	}

}

Analyze Your Own Codebase

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

Try Supermodel Free