Package google.registry.batch
Class RelockDomainAction
- java.lang.Object
-
- google.registry.batch.RelockDomainAction
-
- All Implemented Interfaces:
java.lang.Runnable
public class RelockDomainAction extends java.lang.Object implements java.lang.Runnable
Task that re-locks a previously-Registry-Locked domain after a predetermined period of time.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OLD_UNLOCK_REVISION_ID_PARAM
static java.lang.String
PATH
static java.lang.String
PREVIOUS_ATTEMPTS_PARAM
-
Constructor Summary
Constructors Constructor Description RelockDomainAction(long oldUnlockRevisionId, int previousAttempts, javax.mail.internet.InternetAddress alertRecipientAddress, javax.mail.internet.InternetAddress gSuiteOutgoingEmailAddress, java.lang.String supportEmail, SendEmailService sendEmailService, DomainLockUtils domainLockUtils, Response response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
PATH
public static final java.lang.String PATH
- See Also:
- Constant Field Values
-
OLD_UNLOCK_REVISION_ID_PARAM
public static final java.lang.String OLD_UNLOCK_REVISION_ID_PARAM
- See Also:
- Constant Field Values
-
PREVIOUS_ATTEMPTS_PARAM
public static final java.lang.String PREVIOUS_ATTEMPTS_PARAM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelockDomainAction
@Inject public RelockDomainAction(@Parameter("oldUnlockRevisionId") long oldUnlockRevisionId, @Parameter("previousAttempts") int previousAttempts, @Config("alertRecipientEmailAddress") javax.mail.internet.InternetAddress alertRecipientAddress, @Config("gSuiteOutgoingEmailAddress") javax.mail.internet.InternetAddress gSuiteOutgoingEmailAddress, @Config("supportEmail") java.lang.String supportEmail, SendEmailService sendEmailService, DomainLockUtils domainLockUtils, Response response)
-
-