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 classDetectionRule.BuilderNested 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 ParseFieldACTIONS_FIELDstatic ParseFieldCONDITIONS_FIELDstatic ParseFieldDETECTION_RULE_FIELDstatic ObjectParser<DetectionRule.Builder,java.lang.Void>PARSERstatic ParseFieldSCOPE_FIELD -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.EnumSet<RuleAction>getActions()java.util.List<RuleCondition>getConditions()RuleScopegetScope()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Method Details
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
getActions
-
getScope
-
getConditions
-
equals
public boolean equals(java.lang.Object obj)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-