public class HBaseDomainList extends AbstractDomainList
Constructor and Description |
---|
HBaseDomainList() |
Modifier and Type | Method and Description |
---|---|
void |
addDomain(String domain)
Add domain to the service
|
boolean |
containsDomain(String domain)
Return true if the domain exists in the service
|
protected List<String> |
getDomainListInternal()
Return domainList
|
void |
removeDomain(String domain)
Remove domain from the service
|
configure, getDefaultDomain, getDNSServer, getDomains, getLogger, setAutoDetect, setAutoDetectIP, setDNSService, setLog
public boolean containsDomain(String domain) throws DomainListException
DomainList
domain
- the domainDomainListException
DomainList.containsDomain(String)
public void addDomain(String domain) throws DomainListException
DomainList
domain
- domain to addDomainListException
- If the domain could not be addedDomainList.addDomain(String)
public void removeDomain(String domain) throws DomainListException
DomainList
domain
- domain to removeDomainListException
- If the domain could not be removedprotected List<String> getDomainListInternal() throws DomainListException
AbstractDomainList
getDomainListInternal
in class AbstractDomainList
DomainListException
AbstractDomainList.getDomainListInternal()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.