mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 08:57:12 +02:00
Record domain transaction for DomainRestoreFlow
This is the first of many cls adding explicit logging in all our domain mutation flows to facilitate transaction reporting. Restores are relatively simple- it happens immediately, so the reporting time is just the time of the HistoryEntry, and we add a single "RESTORED_DOMAINS" count of 1. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=165639084
This commit is contained in:
parent
bf383081ce
commit
2fe82921a7
3 changed files with 35 additions and 0 deletions
|
@ -130,6 +130,10 @@ public class DomainTransactionRecord extends ImmutableObject implements Buildabl
|
|||
return tld;
|
||||
}
|
||||
|
||||
public Set<TransactionFieldAmount> getTransactionFieldAmounts() {
|
||||
return transactionFieldAmounts;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Builder asBuilder() {
|
||||
return new Builder(clone(this));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue