Class WatchLog
- java.lang.Object
-
- com.floragunn.signals.watch.result.WatchLog
-
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class WatchLog extends Object implements org.elasticsearch.xcontent.ToXContentObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatchLog.ToXContentParams
-
Constructor Summary
Constructors Constructor Description WatchLog()
-
Method Summary
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getWatchId
public String getWatchId()
-
setWatchId
public void setWatchId(String watchId)
-
getStatus
public Status getStatus()
-
setStatus
public void setStatus(Status status)
-
getExecutionStart
public Date getExecutionStart()
-
setExecutionStart
public void setExecutionStart(Date executionStart)
-
getExecutionFinished
public Date getExecutionFinished()
-
setExecutionFinished
public void setExecutionFinished(Date executionFinished)
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
parse
public static WatchLog parse(String id, String json) throws ParseException
- Throws:
ParseException
-
parse
public static WatchLog parse(String id, com.fasterxml.jackson.databind.JsonNode jsonNode) throws ParseException
- Throws:
ParseException
-
getTenant
public String getTenant()
-
setTenant
public void setTenant(String tenant)
-
getError
public ErrorInfo getError()
-
setError
public void setError(ErrorInfo error)
-
getNode
public String getNode()
-
setNode
public void setNode(String node)
-
getRuntimeAttributes
public WatchExecutionContextData getRuntimeAttributes()
-
setRuntimeAttributes
public void setRuntimeAttributes(WatchExecutionContextData runtimeAttributes)
-
getWatchVersion
public long getWatchVersion()
-
setWatchVersion
public void setWatchVersion(long watchVersion)
-
-