Package google.registry.model.reporting
Class HistoryEntry.Builder<T extends HistoryEntry,B extends HistoryEntry.Builder<?,?>>
java.lang.Object
google.registry.model.Buildable.Builder<T>
google.registry.model.Buildable.GenericBuilder<T,B>
google.registry.model.reporting.HistoryEntry.Builder<T,B>
- Direct Known Subclasses:
ContactHistory.Builder
,DomainHistory.Builder
,HostHistory.Builder
- Enclosing class:
HistoryEntry
public abstract static class HistoryEntry.Builder<T extends HistoryEntry,B extends HistoryEntry.Builder<?,?>>
extends Buildable.GenericBuilder<T,B>
A builder for
HistoryEntry
since it is immutable-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the instance.copyFrom
(HistoryEntry historyEntry) copyFrom
(HistoryEntry.Builder<? extends HistoryEntry, ?> builder) setBySuperuser
(boolean bySuperuser) setModificationTime
(org.joda.time.DateTime modificationTime) setRegistrarId
(String registrarId) protected B
setRepoId
(EppResource eppResource) setRequestedByRegistrar
(Boolean requestedByRegistrar) setRevisionId
(Long revisionId) setType
(HistoryEntry.Type type) setXmlBytes
(byte[] xmlBytes) Methods inherited from class google.registry.model.Buildable.GenericBuilder
thisCastToDerived
Methods inherited from class google.registry.model.Buildable.Builder
getInstance
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
-
Method Details
-
copyFrom
-
copyFrom
-
build
Description copied from class:Buildable.Builder
Build the instance.- Overrides:
build
in classBuildable.Builder<T extends HistoryEntry>
-
setRevisionId
-
setRepoId
-
setType
-
setXmlBytes
-
setModificationTime
-
setRegistrarId
-
setTrid
-
setBySuperuser
-
setReason
-
setRequestedByRegistrar
-