public class WhitelistDomainRequest extends ThreadSettingsBaseRequest
type| Constructor and Description |
|---|
WhitelistDomainRequest()
Instantiates a new whitelist domain request.
|
WhitelistDomainRequest(List<String> whiteListedDomains)
Instantiates a new whitelist domain request.
|
WhitelistDomainRequest(List<String> whiteListedDomains,
DomainActionType domainActionType)
Instantiates a new whitelist domain request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWhiteListedDomain(String domain)
Adds the white listed domain.
|
boolean |
equals(Object obj) |
DomainActionType |
getDomainActionType()
Gets the domain action type.
|
List<String> |
getWhiteListedDomains()
Gets the white listed domains.
|
int |
hashCode() |
void |
setDomainActionType(DomainActionType domainActionType)
Sets the domain action type.
|
void |
setWhiteListedDomains(List<String> whiteListedDomains)
Sets the white listed domains.
|
String |
toString() |
getType, setTypepublic WhitelistDomainRequest()
public WhitelistDomainRequest(List<String> whiteListedDomains)
whiteListedDomains - the white listed domainspublic WhitelistDomainRequest(List<String> whiteListedDomains, DomainActionType domainActionType)
whiteListedDomains - the white listed domainsdomainActionType - the domain action typepublic DomainActionType getDomainActionType()
public void setDomainActionType(DomainActionType domainActionType)
domainActionType - the new domain action typepublic List<String> getWhiteListedDomains()
public void setWhiteListedDomains(List<String> whiteListedDomains)
whiteListedDomains - the new white listed domainspublic void addWhiteListedDomain(String domain)
domain - the domainpublic int hashCode()
hashCode in class ThreadSettingsBaseRequestpublic boolean equals(Object obj)
equals in class ThreadSettingsBaseRequestpublic String toString()
toString in class ThreadSettingsBaseRequestCopyright © 2017 BotMill. All rights reserved.