Class SetupProperties
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.module.web.configuration.properties.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 addressjava.lang.String
getName()
Get the default user's usernamejava.lang.String
getPassword()
Get the default user's plaintext passwordvoid
setEmail(java.lang.String email)
Set the default user's email address attribute in the config filevoid
setName(java.lang.String name)
Set the default user's username attribute in the config filevoid
setPassword(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
-
-