Class Rules
- java.lang.Object
-
- com.lucidworks.search.dsl.DslBase
-
- com.lucidworks.search.dsl.response.Rules
-
public class Rules extends DslBase
Rules-related aspects of the response - holds data from triggered rules.
-
-
Constructor Summary
Constructors Constructor Description Rules()
Rules(java.util.List<java.lang.String> redirects, ResponseValues responseValues, java.util.List<Banner> banners, JsonBlobs jsonBlobs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Banner>
getBanners()
JsonBlobs
getJsonBlobs()
java.util.List<Banner>
getOrCreateBanners()
JsonBlobs
getOrCreateJsonBlobs()
java.util.List<java.lang.String>
getOrCreateRedirects()
ResponseValues
getOrCreateResponseValues()
java.util.List<java.lang.String>
getRedirects()
ResponseValues
getResponseValues()
void
setResponseValues(ResponseValues responseValues)
-
-
-
Constructor Detail
-
Rules
public Rules(java.util.List<java.lang.String> redirects, ResponseValues responseValues, java.util.List<Banner> banners, JsonBlobs jsonBlobs)
-
Rules
public Rules()
-
-
Method Detail
-
getRedirects
public java.util.List<java.lang.String> getRedirects()
-
getOrCreateRedirects
public java.util.List<java.lang.String> getOrCreateRedirects()
-
getResponseValues
public ResponseValues getResponseValues()
-
getOrCreateResponseValues
public ResponseValues getOrCreateResponseValues()
-
getBanners
public java.util.List<Banner> getBanners()
-
getOrCreateBanners
public java.util.List<Banner> getOrCreateBanners()
-
getJsonBlobs
public JsonBlobs getJsonBlobs()
-
getOrCreateJsonBlobs
public JsonBlobs getOrCreateJsonBlobs()
-
setResponseValues
public void setResponseValues(ResponseValues responseValues)
-
-