public static class Decision.Multi extends Decision
Decision.Multi, Decision.Single, Decision.TypeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsALWAYS, NO, THROTTLE, YESEMPTY_PARAMS| Constructor and Description |
|---|
Decision.Multi() |
| Modifier and Type | Method and Description |
|---|---|
Decision.Multi |
add(Decision decision)
Add a decision to this
Decision.Multidecision instance |
String |
label() |
String |
toString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
Decision.Type |
type()
Get the
Decision.Type of this decision |
public Decision.Multi add(Decision decision)
Decision.Multidecision instancedecision - Decision to addDecision.Multidecision instance with the given decision addedpublic Decision.Type type()
DecisionDecision.Type of this decisiontype in class DecisionDecision.Type of this decisionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.