Class SetupProperties


  • @ConfigurationProperties("sherlock.setup")
    public class SetupProperties
    extends java.lang.Object
    The settings used to setup sherlock on first boot to fetch from the application properties file
    • Constructor Summary

      Constructors 
      Constructor Description
      SetupProperties()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getEmail()
      Get the default user's email address
      java.lang.String getName()
      Get the default user's username
      java.lang.String getPassword()
      Get the default user's plaintext password
      void setEmail​(java.lang.String email)
      Set the default user's email address attribute in the config file
      void setName​(java.lang.String name)
      Set the default user's username attribute in the config file
      void setPassword​(java.lang.String password)
      Set the default user's plaintext password 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

      • SetupProperties

        public SetupProperties()
    • Method Detail

      • getEmail

        public java.lang.String getEmail()
        Get the default user's email address
        Returns:
        the email
      • setEmail

        public void setEmail​(java.lang.String email)
        Set the default user's email address attribute in the config file
        Parameters:
        email - the new email
      • getName

        public java.lang.String getName()
        Get the default user's username
        Returns:
        the username
      • setName

        public void setName​(java.lang.String name)
        Set the default user's username attribute in the config file
        Parameters:
        name - the new username
      • getPassword

        public java.lang.String getPassword()
        Get the default user's plaintext password
        Returns:
        the password
      • setPassword

        public void setPassword​(java.lang.String password)
        Set the default user's plaintext password attribute in the config file
        Parameters:
        password - the new password