Home / Class/ SpringPropertyAction Class — spring-boot Architecture

SpringPropertyAction Class — spring-boot Architecture

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

Entity Profile

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringPropertyAction.java lines 35–52

class SpringPropertyAction extends BaseModelAction {

	private static final String SOURCE_ATTRIBUTE = "source";

	private static final String DEFAULT_VALUE_ATTRIBUTE = "defaultValue";

	@Override
	protected Model buildCurrentModel(SaxEventInterpretationContext interpretationContext, String name,
			Attributes attributes) {
		SpringPropertyModel model = new SpringPropertyModel();
		model.setName(attributes.getValue(NAME_ATTRIBUTE));
		model.setSource(attributes.getValue(SOURCE_ATTRIBUTE));
		model.setScope(attributes.getValue(SCOPE_ATTRIBUTE));
		model.setDefaultValue(attributes.getValue(DEFAULT_VALUE_ATTRIBUTE));
		return model;
	}

}

Analyze Your Own Codebase

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

Try Supermodel Free