Class JobDetails

java.lang.Object
org.opensearch.jobscheduler.model.JobDetails
All Implemented Interfaces:
org.opensearch.core.xcontent.ToXContent, org.opensearch.core.xcontent.ToXContentObject

public class JobDetails extends Object implements org.opensearch.core.xcontent.ToXContentObject
This model class stores the job details of the extension.
  • Field Details

  • Constructor Details

    • JobDetails

      public JobDetails()
    • JobDetails

      public JobDetails(String jobIndex, String jobType, String jobParameterAction, String jobRunnerAction, String extensionUniqueId)
    • JobDetails

      public JobDetails(JobDetails copyJobDetails)
  • Method Details

    • toXContent

      public org.opensearch.core.xcontent.XContentBuilder toXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.opensearch.core.xcontent.ToXContent
      Throws:
      IOException
    • parse

      public static JobDetails parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException
      Throws:
      IOException
    • getJobIndex

      @Nullable public String getJobIndex()
    • setJobIndex

      public void setJobIndex(String jobIndex)
    • getJobType

      @Nullable public String getJobType()
    • setJobType

      public void setJobType(String jobType)
    • getJobParameterAction

      @Nullable public String getJobParameterAction()
    • setJobParameterAction

      public void setJobParameterAction(String jobParameterAction)
    • getJobRunnerAction

      @Nullable public String getJobRunnerAction()
    • setJobRunnerAction

      public void setJobRunnerAction(String jobRunnerAction)
    • getExtensionUniqueId

      @Nullable public String getExtensionUniqueId()
    • setExtensionUniqueId

      public void setExtensionUniqueId(String extensionUniqueId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object