Class LaunchNotice
- java.lang.Object
-
- google.registry.model.ImmutableObject
-
- google.registry.model.domain.launch.LaunchNotice
-
- All Implemented Interfaces:
UnsafeSerializable
,java.io.Serializable
,java.lang.Cloneable
@Embeddable public class LaunchNotice extends ImmutableObject implements UnsafeSerializable
The claims notice id from the claims phase.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LaunchNotice.InvalidChecksumException
Thrown from validate() if the checksum is invalid.static class
LaunchNotice.NoticeIdType
An id with a validator-id attribute.-
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
Constructors Constructor Description LaunchNotice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LaunchNotice
create(java.lang.String tcnId, java.lang.String validatorId, org.joda.time.DateTime expirationTime, org.joda.time.DateTime acceptedTime)
org.joda.time.DateTime
getAcceptedTime()
org.joda.time.DateTime
getExpirationTime()
LaunchNotice.NoticeIdType
getNoticeId()
void
validate(java.lang.String domainLabel)
Validate the checksum of the notice against the domain label.-
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
-
-
-
Method Detail
-
getNoticeId
public LaunchNotice.NoticeIdType getNoticeId()
-
getExpirationTime
public org.joda.time.DateTime getExpirationTime()
-
getAcceptedTime
public org.joda.time.DateTime getAcceptedTime()
-
validate
public void validate(java.lang.String domainLabel) throws LaunchNotice.InvalidChecksumException
Validate the checksum of the notice against the domain label.
-
create
public static LaunchNotice create(java.lang.String tcnId, java.lang.String validatorId, org.joda.time.DateTime expirationTime, org.joda.time.DateTime acceptedTime)
-
-