* Move articles from spring-core-6 module to other spring-boot modules * JAVA-19559 Move articles from spring-core-6 module to other spring-boot-3 modules * JAVA-19559 Minor spacing change * JAVA-19559 Revert Minor spacing change
21 lines
468 B
Java
21 lines
468 B
Java
package com.baeldung.envvariables;
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Component
|
|
@ConfigurationProperties(prefix = "baeldung")
|
|
public class BaeldungProperties {
|
|
|
|
private String presentation;
|
|
|
|
public String getPresentation() {
|
|
return presentation;
|
|
}
|
|
|
|
public void setPresentation(String presentation) {
|
|
this.presentation = presentation;
|
|
}
|
|
|
|
}
|