@NotThreadSafe public class TopLevelDomainBuilder extends DomainBuilder<de.malkusch.whoisServerList.api.v1.model.domain.TopLevelDomain>
| Constructor and Description |
|---|
TopLevelDomainBuilder(de.malkusch.whoisServerList.api.v1.model.Source source)
Sets the source for this factory.
|
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Builds a new list object.
|
protected void |
completeDomain(de.malkusch.whoisServerList.api.v1.model.domain.TopLevelDomain domain)
Completes a builded domain object.
|
protected void |
completeTopLevelDomain(de.malkusch.whoisServerList.api.v1.model.domain.TopLevelDomain domain)
Completes a created domain.
|
complete, getName, getObjectType, setNamepublic TopLevelDomainBuilder(de.malkusch.whoisServerList.api.v1.model.Source source)
source - the sourceprotected void completeTopLevelDomain(de.malkusch.whoisServerList.api.v1.model.domain.TopLevelDomain domain)
throws WhoisServerListException,
InterruptedException
domain - the incomplete top level domainWhoisServerListException - If completing failedInterruptedException - If the thread was interruptedprotected final void completeDomain(de.malkusch.whoisServerList.api.v1.model.domain.TopLevelDomain domain)
throws WhoisServerListException,
InterruptedException
DomainBuildercompleteDomain in class DomainBuilder<de.malkusch.whoisServerList.api.v1.model.domain.TopLevelDomain>domain - the domainWhoisServerListException - If building the object failedInterruptedException - If the thread was interruptedpublic final T build()
throws WhoisServerListException,
InterruptedException
WhoisServerListException - If building the object failedInterruptedException - If the thread was interruptedCopyright © 2014. All Rights Reserved.