use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method sampler.
public void sampler(String name, ConditionOptionCall<SamplerAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
SamplerAggregationBuilder builder = regSamplerA(name);
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setUrl_Missing.
public void setUrl_Missing(String name, ConditionOptionCall<MissingAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
MissingAggregationBuilder builder = regMissingA(name, "url");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setErrorName_SignificantTerms.
public void setErrorName_SignificantTerms(String name, ConditionOptionCall<SignificantTermsAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
SignificantTermsAggregationBuilder builder = regSignificantTermsA(name, "errorName");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method global.
public void global(String name, ConditionOptionCall<GlobalAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
GlobalAggregationBuilder builder = regGlobalA(name);
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
use of org.codelibs.fess.es.config.cbean.ca.FailureUrlCA in project fess by codelibs.
the class BsFailureUrlCA method setConfigId_Terms.
public void setConfigId_Terms(String name, ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsFailureUrlCA> aggsLambda) {
TermsAggregationBuilder builder = regTermsA(name, "configId");
if (opLambda != null) {
opLambda.callback(builder);
}
if (aggsLambda != null) {
FailureUrlCA ca = new FailureUrlCA();
aggsLambda.callback(ca);
ca.getAggregationBuilderList().forEach(builder::subAggregation);
}
}
Aggregations