Class JobDetails
java.lang.Object
org.opensearch.jobscheduler.model.JobDetails
- All Implemented Interfaces:
org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentObject
This model class stores the job details of the extension.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionJobDetails(String jobIndex, String jobType, String jobParameterAction, String jobRunnerAction, String extensionUniqueId) JobDetails(JobDetails copyJobDetails) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static JobDetailsparse(org.opensearch.core.xcontent.XContentParser parser) voidsetExtensionUniqueId(String extensionUniqueId) voidsetJobIndex(String jobIndex) voidsetJobParameterAction(String jobParameterAction) voidsetJobRunnerAction(String jobRunnerAction) voidsetJobType(String jobType) toString()org.opensearch.core.xcontent.XContentBuildertoXContent(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentObject
isFragment
-
Field Details
-
DOCUMENT_ID
- See Also:
-
JOB_INDEX
- See Also:
-
JOB_TYPE
- See Also:
-
JOB_PARAMETER_ACTION
- See Also:
-
JOB_RUNNER_ACTION
- See Also:
-
EXTENSION_UNIQUE_ID
- See Also:
-
-
Constructor Details
-
JobDetails
public JobDetails() -
JobDetails
-
JobDetails
-
-
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:
toXContentin interfaceorg.opensearch.core.xcontent.ToXContent- Throws:
IOException
-
parse
public static JobDetails parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getJobIndex
-
setJobIndex
-
getJobType
-
setJobType
-
getJobParameterAction
-
setJobParameterAction
-
getJobRunnerAction
-
setJobRunnerAction
-
getExtensionUniqueId
-
setExtensionUniqueId
-
equals
-
hashCode
public int hashCode() -
toString
-