mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Add extensible custom logic to the domain update flow
This also adds beforeValidation hook to DomainCreateCustomFlow. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=139828346
This commit is contained in:
parent
2d85ec9aa3
commit
998dae33ec
6 changed files with 162 additions and 7 deletions
|
@ -35,6 +35,12 @@ public class DomainCreateFlowCustomLogic extends BaseFlowCustomLogic {
|
|||
super(eppInput, sessionMetadata);
|
||||
}
|
||||
|
||||
/** A hook that runs before any validation. This is useful to e.g. add allowable extensions. */
|
||||
@SuppressWarnings("unused")
|
||||
public void beforeValidation() throws EppException {
|
||||
// Do nothing.
|
||||
}
|
||||
|
||||
/** A hook that runs at the end of the validation step to perform additional validation. */
|
||||
@SuppressWarnings("unused")
|
||||
public void afterValidation(AfterValidationParameters parameters) throws EppException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue