Interface StringEnum

All Superinterfaces:
JsonpSerializable
All Known Implementing Classes:
AccessTokenGrantType, AcknowledgementOptions, ActionExecutionMode, ActionStatusOptions, ActionType, AllocationExplainDecision, ApiKeyGrantType, AppliesTo, BoundaryScanner, Bytes, CategorizationStatus, ChildScoreMode, ChunkingMode, ClusterPrivilege, ClusterStatus, CombinedFieldsOperator, CombinedFieldsZeroTerms, ConditionOperator, ConditionType, Conflicts, ConnectionScheme, ConvertType, DatafeedState, DataframeState, DataStreamHealthStatus, DateInterval, DateRounding, Day, Decision, DefaultOperator, DelimitedPayloadEncoding, DeprecationLevel, DistanceUnit, EdgeNGramSide, EnrichPolicyPhase, ExcludeFrequent, ExecutionPhase, ExecutionStatus, ExpandWildcardOptions, FieldValueFactorModifier, FilterType, FollowerIndexStatus, FunctionBoostMode, FunctionScoreMode, GapPolicy, GeoDistanceType, GeoExecution, GeoOrientation, GeoShapeRelation, GeoStrategy, GeoValidationMethod, GridType, GroupBy, Health, HighlighterEncoder, HighlighterFragmenter, HighlighterOrder, HighlighterTagsSchema, HighlighterType, HttpInputMethod, IcuNormalizationMode, IcuNormalizationType, IndexCheckOnStartup, IndexingJobState, IndexOptions, IndexPrivilege, IndexRoutingAllocationOptions, IndexRoutingRebalanceOptions, IndicesBlockOptions, InputType, JobBlockedReason, JobState, KeepTypesMode, KuromojiTokenizationMode, Language, Level, LicenseStatus, LicenseType, LifecycleOperationMode, MatchType, MatrixStatsMode, MemoryStatus, Metric, MinimumInterval, Month, MovingAverageModel, NestedScoreMode, NodeRole, NoriDecompoundMode, NormalizeMethod, NumericFielddataFormat, Operator, OpType, PagerDutyContextType, PagerDutyEventType, Quantifier, RateMode, ResponseContentType, Result, ResultPosition, RuleAction, RuntimeFieldType, SamplerAggregationExecutionHint, ScoreMode, ScriptLanguage, SearchType, ShapeOrientation, ShapeRelation, ShapeType, ShardRoutingState, ShardsStatsStage, ShardStatus, ShardStoreAllocation, ShutdownStatus, ShutdownType, SimpleQueryStringFlags, SnowballLanguage, SortOrder, StatsLevel, StringDistance, SuggestMode, SuggestSort, SynonymFormat, TermsAggregationCollectMode, TermsAggregationExecutionHint, TermVectorOption, TextQueryType, ThreadType, TimeUnit, TokenChar, TotalHitsRelation, TTestType, UnassignedInformationReason, UserAgentProperty, ValueType, VersionType, WaitForEvents, WaitForStatus, WatcherMetric, WatcherState, ZeroTermsQuery

public interface StringEnum
extends JsonpSerializable
Base interface for enumerations.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Interface Description
    static class  StringEnum.Deserializer<T extends java.lang.Enum<T> & StringEnum>  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String jsonValue()  
    default void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper params)  
  • Method Details

    • jsonValue

      java.lang.String jsonValue()
    • serialize

      default void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper params)
      Specified by:
      serialize in interface JsonpSerializable