public class QueryRestrictionConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
blackListURL |
NodeRestrictionConfig |
nodeRestrictionConfig |
OperatorRestrictionConfig |
operatorRestrictionConfig |
QueryTermCountRestrictionConfig |
queryTermCountRestrictionConfig |
Constructor and Description |
---|
QueryRestrictionConfig() |
QueryRestrictionConfig(QueryRestrictionConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this QueryRestrictionConfig.
|
static QueryRestrictionConfig |
fromString(java.lang.String s)
String representation of this QueryRestrictionConfig.
|
java.lang.String |
getBlackListURL()
URL to a query-blocklist resource
|
NodeRestrictionConfig |
getNodeRestrictionConfig() |
OperatorRestrictionConfig |
getOperatorRestrictionConfig() |
QueryTermCountRestrictionConfig |
getQueryTermCountRestrictionConfig() |
QueryRestrictionConfig |
makeCopy()
Creates and returns a deep copy of this QueryRestrictionConfig.
|
static QueryRestrictionConfig |
readFrom(java.io.InputStream is)
Read this QueryRestrictionConfig from an XML fragment.
|
void |
setBlackListURL(java.lang.String blackListURL)
URL to a query-blocklist resource
|
void |
setNodeRestrictionConfig(NodeRestrictionConfig nodeRestrictionConfig) |
void |
setOperatorRestrictionConfig(OperatorRestrictionConfig operatorRestrictionConfig) |
void |
setQueryTermCountRestrictionConfig(QueryTermCountRestrictionConfig queryTermCountRestrictionConfig) |
java.lang.String |
toString()
String representation of this QueryRestrictionConfig.
|
QueryRestrictionConfig |
withBlackListURL(java.lang.String blackListURL) |
QueryRestrictionConfig |
withNodeRestrictionConfig(NodeRestrictionConfig nodeRestrictionConfig) |
QueryRestrictionConfig |
withOperatorRestrictionConfig(OperatorRestrictionConfig operatorRestrictionConfig) |
QueryRestrictionConfig |
withQueryTermCountRestrictionConfig(QueryTermCountRestrictionConfig queryTermCountRestrictionConfig) |
void |
writeTo(java.io.OutputStream os)
Write this QueryRestrictionConfig as an XML fragment
|
public java.lang.String blackListURL
public OperatorRestrictionConfig operatorRestrictionConfig
public QueryTermCountRestrictionConfig queryTermCountRestrictionConfig
public NodeRestrictionConfig nodeRestrictionConfig
public QueryRestrictionConfig()
public QueryRestrictionConfig(QueryRestrictionConfig o)
public void setBlackListURL(java.lang.String blackListURL)
public java.lang.String getBlackListURL()
public QueryRestrictionConfig withBlackListURL(java.lang.String blackListURL)
public void setOperatorRestrictionConfig(OperatorRestrictionConfig operatorRestrictionConfig)
public OperatorRestrictionConfig getOperatorRestrictionConfig()
public QueryRestrictionConfig withOperatorRestrictionConfig(OperatorRestrictionConfig operatorRestrictionConfig)
public void setQueryTermCountRestrictionConfig(QueryTermCountRestrictionConfig queryTermCountRestrictionConfig)
public QueryTermCountRestrictionConfig getQueryTermCountRestrictionConfig()
public QueryRestrictionConfig withQueryTermCountRestrictionConfig(QueryTermCountRestrictionConfig queryTermCountRestrictionConfig)
public void setNodeRestrictionConfig(NodeRestrictionConfig nodeRestrictionConfig)
public NodeRestrictionConfig getNodeRestrictionConfig()
public QueryRestrictionConfig withNodeRestrictionConfig(NodeRestrictionConfig nodeRestrictionConfig)
public QueryRestrictionConfig makeCopy()
public static QueryRestrictionConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static QueryRestrictionConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.