Class DetectionRule
java.lang.Object
org.elasticsearch.client.ml.job.config.DetectionRule
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class DetectionRule extends java.lang.Object implements ToXContentObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DetectionRule.Builder
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields Modifier and Type Field Description static ParseField
ACTIONS_FIELD
static ParseField
CONDITIONS_FIELD
static ParseField
DETECTION_RULE_FIELD
static ObjectParser<DetectionRule.Builder,java.lang.Void>
PARSER
static ParseField
SCOPE_FIELD
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.EnumSet<RuleAction>
getActions()
java.util.List<RuleCondition>
getConditions()
RuleScope
getScope()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
getActions
-
getScope
-
getConditions
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-