java.lang.Object
org.elasticsearch.xpack.core.watcher.trigger.TriggerEvent
All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public abstract class TriggerEvent extends Object implements org.elasticsearch.xcontent.ToXContentObject
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static interface 
     

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Map<String,Object>
     
    protected final ZonedDateTime
     

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY, EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
    TriggerEvent(String jobName, ZonedDateTime triggeredTime)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    abstract void
    recordDataXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     
    void
    recordXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     
     
     
    abstract String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContent

    toXContent

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject

    isFragment
  • Field Details

  • Constructor Details

  • Method Details

    • jobName

      public String jobName()
    • type

      public abstract String type()
    • triggeredTime

      public ZonedDateTime triggeredTime()
    • data

      public final Map<String,Object> data()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • recordXContent

      public void recordXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException
    • recordDataXContent

      public abstract void recordDataXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException