public static class Decision.Multi extends Decision
Decision.Multi, Decision.Single, Decision.Type
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
ALWAYS, NO, THROTTLE, YES
EMPTY_PARAMS
Constructor and Description |
---|
Multi() |
Modifier and Type | Method and Description |
---|---|
Decision.Multi |
add(Decision decision)
Add a decision to this
Decision.Multi decision 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.Multi
decision instancedecision
- Decision
to addDecision.Multi
decision instance with the given decision addedpublic Decision.Type type()
Decision
Decision.Type
of this decisiontype
in class Decision
Decision.Type
of this decisionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.