Record Class ServiceAccountSpaceResourceDescriptionImpl
java.lang.Object
java.lang.Record
com.atlassian.confluence.impl.user.crowd.serviceaccount.ServiceAccountSpaceResourceDescriptionImpl
- All Implemented Interfaces:
com.atlassian.crowd.embedded.spi.service.ResourceDescription
public record ServiceAccountSpaceResourceDescriptionImpl(Space space, String spaceKey, I18NBeanFactory i18NBeanFactory)
extends Record
implements com.atlassian.crowd.embedded.spi.service.ResourceDescription
-
Constructor Summary
ConstructorsConstructorDescriptionServiceAccountSpaceResourceDescriptionImpl(Space space, String spaceKey, I18NBeanFactory i18NBeanFactory) Creates an instance of aServiceAccountSpaceResourceDescriptionImplrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.com.atlassian.crowd.embedded.api.service.Resourcefinal inthashCode()Returns a hash code value for this object.Returns the value of thei18NBeanFactoryrecord component.space()Returns the value of thespacerecord component.spaceKey()Returns the value of thespaceKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ServiceAccountSpaceResourceDescriptionImpl
public ServiceAccountSpaceResourceDescriptionImpl(Space space, String spaceKey, I18NBeanFactory i18NBeanFactory) Creates an instance of aServiceAccountSpaceResourceDescriptionImplrecord class.- Parameters:
space- the value for thespacerecord componentspaceKey- the value for thespaceKeyrecord componenti18NBeanFactory- the value for thei18NBeanFactoryrecord component
-
-
Method Details
-
getResource
public com.atlassian.crowd.embedded.api.service.Resource getResource()- Specified by:
getResourcein interfacecom.atlassian.crowd.embedded.spi.service.ResourceDescription
-
getDescription
- Specified by:
getDescriptionin interfacecom.atlassian.crowd.embedded.spi.service.ResourceDescription
-
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
public final int 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). -
space
Returns the value of thespacerecord component.- Returns:
- the value of the
spacerecord component
-
spaceKey
Returns the value of thespaceKeyrecord component.- Returns:
- the value of the
spaceKeyrecord component
-
i18NBeanFactory
Returns the value of thei18NBeanFactoryrecord component.- Returns:
- the value of the
i18NBeanFactoryrecord component
-