The ordering of the State enum is defined such that if there is a state transition
from A -> B then A.compareTo(B) < 0. N.B. The converse is not true, i.e. if
A.compareTo(B) < 0 then there is not guaranteed to be a valid state transition
A -> B.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["This document details the various versions of the `ApiService.State` class, with the latest version being 2.46.1 and ranging down to 2.1.2, all within the Java API Common library."],["`ApiService.State` is an enum that defines the lifecycle states of a service, which includes `NEW`, `STARTING`, `RUNNING`, `STOPPING`, `TERMINATED`, and `FAILED`."],["The `ApiService.State` enum's ordering reflects the state transition sequence, meaning if state A transitions to state B, then A will be considered less than B in a comparison, though the opposite is not necessarily true."],["The document lists inherited methods and static members, providing comprehensive information about the `ApiService.State` functionality and behavior."],["Each state within the `ApiService.State` has unique characteristics, such as a `NEW` service being inactive, `RUNNING` services being operational, and `FAILED` services having encountered problems that may prevent them from functioning."]]],[]]