Home / Class/ ProjectType Class — spring-boot Architecture

ProjectType Class — spring-boot Architecture

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

Entity Profile

Source Code

cli/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/ProjectType.java lines 30–72

class ProjectType {

	private final String id;

	private final String name;

	private final String action;

	private final boolean defaultType;

	private final Map<String, String> tags = new HashMap<>();

	ProjectType(String id, String name, String action, boolean defaultType, @Nullable Map<String, String> tags) {
		this.id = id;
		this.name = name;
		this.action = action;
		this.defaultType = defaultType;
		if (tags != null) {
			this.tags.putAll(tags);
		}
	}

	String getId() {
		return this.id;
	}

	String getName() {
		return this.name;
	}

	String getAction() {
		return this.action;
	}

	boolean isDefaultType() {
		return this.defaultType;
	}

	Map<String, String> getTags() {
		return Collections.unmodifiableMap(this.tags);
	}

}

Analyze Your Own Codebase

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

Try Supermodel Free