Created
June 27, 2016 01:55
-
-
Save hseritt/5ef6c1ea2d1e684b28201bb1799b16cf to your computer and use it in GitHub Desktop.
Properties configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.springframework.boot.context.properties.ConfigurationProperties; | |
import org.springframework.stereotype.Component; | |
@Component | |
@ConfigurationProperties("web.start") | |
public class StartPageProperties { | |
private String appName; | |
private String pageTitle; | |
private String templateFolder; | |
public String getTemplateFolder() { | |
return templateFolder; | |
} | |
public void setTemplateFolder(String templateFolder) { | |
this.templateFolder = templateFolder; | |
} | |
public String getAppName() { | |
return appName; | |
} | |
public void setAppName(String appName) { | |
this.appName = appName; | |
} | |
public String getPageTitle() { | |
return pageTitle; | |
} | |
public void setPageTitle(String pageTitle) { | |
this.pageTitle = pageTitle; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment