Class WebmasterProperties
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.module.web.configuration.properties.WebmasterProperties
-
@ConfigurationProperties("sherlock.webmaster") public class WebmasterProperties extends java.lang.Object
The details of the people running the current instance of Sherlock to fetch from the application properties file
-
-
Constructor Summary
Constructors Constructor Description WebmasterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContact()
Get the contact namejava.lang.String
getInstitution()
Get the name of the institutionjava.lang.String
getLink()
Get the link to contact the institution/personvoid
setContact(java.lang.String contact)
Set the contact name attribute in the config filevoid
setInstitution(java.lang.String institution)
Set the institution name attribute in the config filevoid
setLink(java.lang.String link)
Set the contact link attribute in the config file
-
-
-
Method Detail
-
getInstitution
public java.lang.String getInstitution()
Get the name of the institution- Returns:
- the name of the institution
-
setInstitution
public void setInstitution(java.lang.String institution)
Set the institution name attribute in the config file- Parameters:
institution
- the new name
-
getContact
public java.lang.String getContact()
Get the contact name- Returns:
- the contact name
-
setContact
public void setContact(java.lang.String contact)
Set the contact name attribute in the config file- Parameters:
contact
- the new name
-
getLink
public java.lang.String getLink()
Get the link to contact the institution/person- Returns:
- the link
-
setLink
public void setLink(java.lang.String link)
Set the contact link attribute in the config file- Parameters:
link
- the new link
-
-