Class Transform
- java.lang.Object
-
- com.floragunn.signals.watch.common.WatchElement
-
- com.floragunn.signals.watch.checks.Check
-
- com.floragunn.signals.watch.checks.AbstractInput
-
- com.floragunn.signals.watch.checks.Transform
-
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class Transform extends AbstractInput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransform.TransformScript
-
Field Summary
-
Fields inherited from class com.floragunn.signals.watch.checks.AbstractInput
target
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute(WatchExecutionContext ctx)StringgetLang()Map<String,Object>getParams()StringgetSource()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)-
Methods inherited from class com.floragunn.signals.watch.checks.AbstractInput
setResult
-
Methods inherited from class com.floragunn.signals.watch.checks.Check
create, getIndexMapping, getIndexMappingUpdate, getName, getTemplateScriptParamsAsMap, toString
-
Methods inherited from class com.floragunn.signals.watch.common.WatchElement
getChildByNameAndType, getChildByNameAndType, getChildren, render, render
-
-
-
-
Method Detail
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException- Throws:
IOException
-
getSource
public String getSource()
-
getLang
public String getLang()
-
execute
public boolean execute(WatchExecutionContext ctx) throws CheckExecutionException
- Specified by:
executein classCheck- Throws:
CheckExecutionException
-
-