Class SetupProperties
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.module.web.configuration.properties.SetupProperties
-
@ConfigurationProperties("sherlock.setup") public class SetupProperties extends java.lang.ObjectThe 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.StringgetEmail()Get the default user's email addressjava.lang.StringgetName()Get the default user's usernamejava.lang.StringgetPassword()Get the default user's plaintext passwordvoidsetEmail(java.lang.String email)Set the default user's email address attribute in the config filevoidsetName(java.lang.String name)Set the default user's username attribute in the config filevoidsetPassword(java.lang.String password)Set the default user's plaintext password attribute in the config file
-
-
-
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
-
-