public class DomainUpdateVariantCommandExtensionV1_1 extends java.lang.Object implements CommandExtension
Extension for the EPP Domain Update command, representing the Update Variants aspect of the Domain Name Variant extension (v1.1)
Use this to add or remove variants for a domain as part of an EPP Domain Update command compliant with RFC5730 and RFC5731. The response expected from a server should be handled by a generic Response.
This extension will throw an IllegalArgumentException
if no variants
are added or removed as part of the "Update Variants" operation.
CREATE, RENEW, TRANSFER, UPDATE
Constructor and Description |
---|
DomainUpdateVariantCommandExtensionV1_1() |
Modifier and Type | Method and Description |
---|---|
void |
addToCommand(Command command) |
void |
addVariant(IdnDomainVariant... variant) |
void |
remVariant(IdnDomainVariant... variant) |
public DomainUpdateVariantCommandExtensionV1_1()
public void addVariant(IdnDomainVariant... variant)
java.lang.IllegalArgumentException
- if any variants in the list are missing their name or user form.public void remVariant(IdnDomainVariant... variant)
java.lang.IllegalArgumentException
- if any variants in the list are missing their name or user form.public void addToCommand(Command command)
addToCommand
in interface CommandExtension