Package org.ctan.site.services.mirrors
Class MirrorRegistrationService
java.lang.Object
org.ctan.site.services.mirrors.MirrorRegistrationService
The class
MirrorRegistrationService contains the service to
register a mirror.-
Constructor Summary
ConstructorsConstructorDescriptionMirrorRegistrationService(@NonNull MirrorRegistrationStore store, @NonNull MailService mailService) This is the constructor for the classMirrorRegistrationService. -
Method Summary
Modifier and TypeMethodDescriptionregistration(@NonNull MirrorRegistration registration) The methodregistrationprovides means to store a registration.
-
Constructor Details
-
MirrorRegistrationService
public MirrorRegistrationService(@NonNull @NonNull MirrorRegistrationStore store, @NonNull @NonNull MailService mailService) This is the constructor for the classMirrorRegistrationService.- Parameters:
store- the underlying storemailService- the mail service
-
-
Method Details
-
registration
public MirrorRegistration registration(@NonNull @NonNull MirrorRegistration registration) throws MailException The methodregistrationprovides means to store a registration.- Parameters:
registration- the registration- Returns:
- the mirror registration
- Throws:
MailException- in case of an error
-