Package google.registry.flows.custom
Class DomainRenewFlowCustomLogic.BeforeSaveParameters
java.lang.Object
google.registry.model.ImmutableObject
google.registry.flows.custom.DomainRenewFlowCustomLogic.BeforeSaveParameters
- All Implemented Interfaces:
Cloneable
- Enclosing class:
DomainRenewFlowCustomLogic
public abstract static class DomainRenewFlowCustomLogic.BeforeSaveParameters
extends ImmutableObject
A class to encapsulate parameters for a call to
DomainRenewFlowCustomLogic.beforeSave(google.registry.flows.custom.DomainRenewFlowCustomLogic.BeforeSaveParameters)
.
Note that both newDomain and historyEntry are included in entityChanges. They are also passed separately for convenience, but they are the same instance, and changes to them will also affect what is persisted from entityChanges.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder forDomainRenewFlowCustomLogic.BeforeSaveParameters
.Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract EntityChanges
abstract Domain
abstract HistoryEntry
abstract Domain
abstract org.joda.time.DateTime
now()
abstract int
years()
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
BeforeSaveParameters
public BeforeSaveParameters()
-
-
Method Details
-
existingDomain
-
newDomain
-
historyEntry
-
entityChanges
-
years
public abstract int years() -
now
public abstract org.joda.time.DateTime now() -
newBuilder
-