Package org.ametys.plugins.site
Record Class SiteInformationCache.SignupPage
java.lang.Object
java.lang.Record
org.ametys.plugins.site.SiteInformationCache.SignupPage
- Record Components:
url- The sign-up page URLsiteName- the page site namelang- the page languageuserDirByPop- The userDirectories Ids and populations Ids
- Enclosing class:
- SiteInformationCache
public static record SiteInformationCache.SignupPage(String url, String siteName, String lang, Map<String,String> userDirByPop)
extends Record
Record of the SignupPage parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lang()Returns the value of thelangrecord component.siteName()Returns the value of thesiteNamerecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.Returns the value of theuserDirByPoprecord component.
-
Constructor Details
-
SignupPage
Creates an instance of aSignupPagerecord class.- Parameters:
url- the value for theurlrecord componentsiteName- the value for thesiteNamerecord componentlang- the value for thelangrecord componentuserDirByPop- the value for theuserDirByPoprecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
siteName
Returns the value of thesiteNamerecord component.- Returns:
- the value of the
siteNamerecord component
-
lang
Returns the value of thelangrecord component.- Returns:
- the value of the
langrecord component
-
userDirByPop
Returns the value of theuserDirByPoprecord component.- Returns:
- the value of the
userDirByPoprecord component
-