Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContact()
      Get the contact name
      java.lang.String getInstitution()
      Get the name of the institution
      java.lang.String getLink()
      Get the link to contact the institution/person
      void setContact​(java.lang.String contact)
      Set the contact name attribute in the config file
      void setInstitution​(java.lang.String institution)
      Set the institution name attribute in the config file
      void setLink​(java.lang.String link)
      Set the contact link attribute in the config file
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebmasterProperties

        public WebmasterProperties()
    • 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