test_class.declarator: KNOWN_MESSAGE_ERROR =
              StatusDetailMessage.of(StatusDetailMessage.Level.ERROR, "errorMsg")
test_class.modifier: private static
test_class.original_string: private static StatusDetailMessage KNOWN_MESSAGE_ERROR =
              StatusDetailMessage.of(StatusDetailMessage.Level.ERROR, "errorMsg");
test_class.type: StatusDetailMessage
test_class.var_name: KNOWN_MESSAGE_ERROR
test_class.declarator: KNOWN_MESSAGE_WARN =
              StatusDetailMessage.of(StatusDetailMessage.Level.WARN, "warnMsg")
test_class.modifier: private static
test_class.original_string: private static StatusDetailMessage KNOWN_MESSAGE_WARN =
              StatusDetailMessage.of(StatusDetailMessage.Level.WARN, "warnMsg");
test_class.type: StatusDetailMessage
test_class.var_name: KNOWN_MESSAGE_WARN
test_class.declarator: KNOWN_MESSAGE_INFO =
              StatusDetailMessage.of(StatusDetailMessage.Level.INFO, "infoMsg")
test_class.modifier: private static
test_class.original_string: private static StatusDetailMessage KNOWN_MESSAGE_INFO =
              StatusDetailMessage.of(StatusDetailMessage.Level.INFO, "infoMsg");
test_class.type: StatusDetailMessage
test_class.var_name: KNOWN_MESSAGE_INFO
test_class.declarator: KNOWN_DETAILS_WITHOUT_ERR =
              Arrays.asList(KNOWN_MESSAGE_INFO, KNOWN_MESSAGE_WARN)
test_class.modifier: private static
test_class.original_string: private static List<StatusDetailMessage> KNOWN_DETAILS_WITHOUT_ERR =
              Arrays.asList(KNOWN_MESSAGE_INFO, KNOWN_MESSAGE_WARN);
test_class.type: List<StatusDetailMessage>
test_class.var_name: KNOWN_DETAILS_WITHOUT_ERR
test_class.declarator: KNOWN_DETAILS_WITH_ERR =
              Arrays.asList(KNOWN_MESSAGE_INFO, KNOWN_MESSAGE_ERROR, KNOWN_MESSAGE_WARN)
test_class.modifier: private static
test_class.original_string: private static List<StatusDetailMessage> KNOWN_DETAILS_WITH_ERR =
              Arrays.asList(KNOWN_MESSAGE_INFO, KNOWN_MESSAGE_ERROR, KNOWN_MESSAGE_WARN);
test_class.type: List<StatusDetailMessage>
test_class.var_name: KNOWN_DETAILS_WITH_ERR
test_class.declarator: KNOWN_STATUS = StatusInfo.Status.DOWN
test_class.modifier: private static
test_class.original_string: private static StatusInfo.Status KNOWN_STATUS = StatusInfo.Status.DOWN;
test_class.type: StatusInfo.Status
test_class.var_name: KNOWN_STATUS
test_class.declarator: KNOWN_STATUS_INFO_LABEL = "knownHealthStatus"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_STATUS_INFO_LABEL = "knownHealthStatus";
test_class.type: String
test_class.var_name: KNOWN_STATUS_INFO_LABEL
test_class.declarator: KNOWN_STATUS_INFO =
              StatusInfo.of(KNOWN_STATUS, KNOWN_DETAILS_WITH_ERR, Collections.emptyList(), KNOWN_STATUS_INFO_LABEL)
test_class.modifier: private static
test_class.original_string: private static StatusInfo KNOWN_STATUS_INFO =
              StatusInfo.of(KNOWN_STATUS, KNOWN_DETAILS_WITH_ERR, Collections.emptyList(), KNOWN_STATUS_INFO_LABEL);
test_class.type: StatusInfo
test_class.var_name: KNOWN_STATUS_INFO
test_class.declarator: KNOWN_COMPOSITE_STATUS_INFO_LABEL = "knownCompositeHealthStatus"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_COMPOSITE_STATUS_INFO_LABEL = "knownCompositeHealthStatus";
test_class.type: String
test_class.var_name: KNOWN_COMPOSITE_STATUS_INFO_LABEL
test_class.declarator: KNOWN_COMPOSITE_STATUS_INFO =
              StatusInfo.of(KNOWN_STATUS, KNOWN_DETAILS_WITH_ERR, Collections.singletonList(KNOWN_STATUS_INFO),
                      KNOWN_COMPOSITE_STATUS_INFO_LABEL)
test_class.modifier: private static
test_class.original_string: private static StatusInfo KNOWN_COMPOSITE_STATUS_INFO =
              StatusInfo.of(KNOWN_STATUS, KNOWN_DETAILS_WITH_ERR, Collections.singletonList(KNOWN_STATUS_INFO),
                      KNOWN_COMPOSITE_STATUS_INFO_LABEL);
test_class.type: StatusInfo
test_class.var_name: KNOWN_COMPOSITE_STATUS_INFO
test_class.declarator: KNOWN_CHILDREN =
              Arrays.asList(KNOWN_STATUS_INFO, KNOWN_COMPOSITE_STATUS_INFO)
test_class.modifier: private static final
test_class.original_string: private static final List<StatusInfo> KNOWN_CHILDREN =
              Arrays.asList(KNOWN_STATUS_INFO, KNOWN_COMPOSITE_STATUS_INFO);
test_class.type: List<StatusInfo>
test_class.var_name: KNOWN_CHILDREN
test_class.declarator: KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO =
              StatusInfo.of(KNOWN_STATUS, KNOWN_DETAILS_WITH_ERR, KNOWN_CHILDREN, null)
test_class.modifier: private static
test_class.original_string: private static StatusInfo KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO =
              StatusInfo.of(KNOWN_STATUS, KNOWN_DETAILS_WITH_ERR, KNOWN_CHILDREN, null);
test_class.type: StatusInfo
test_class.var_name: KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO
test_class.declarator: KNOWN_UP_STATUS_INFO_WITH_WARN_MSG =
              StatusInfo.of(StatusInfo.Status.UP, KNOWN_DETAILS_WITHOUT_ERR, Collections.emptyList(), "labelUp")
test_class.modifier: private static
test_class.original_string: private static StatusInfo KNOWN_UP_STATUS_INFO_WITH_WARN_MSG =
              StatusInfo.of(StatusInfo.Status.UP, KNOWN_DETAILS_WITHOUT_ERR, Collections.emptyList(), "labelUp");
test_class.type: StatusInfo
test_class.var_name: KNOWN_UP_STATUS_INFO_WITH_WARN_MSG
test_class.declarator: KNOWN_DOWN_STATUS_INFO_WITH_ERR_MSG =
              StatusInfo.of(StatusInfo.Status.DOWN, KNOWN_DETAILS_WITH_ERR, Collections.emptyList(), "labelDown")
test_class.modifier: private static
test_class.original_string: private static StatusInfo KNOWN_DOWN_STATUS_INFO_WITH_ERR_MSG =
              StatusInfo.of(StatusInfo.Status.DOWN, KNOWN_DETAILS_WITH_ERR, Collections.emptyList(), "labelDown");
test_class.type: StatusInfo
test_class.var_name: KNOWN_DOWN_STATUS_INFO_WITH_ERR_MSG
test_class.declarator: KNOWN_UNKNOWN_STATUS_INFO =
              StatusInfo.of(StatusInfo.Status.UNKNOWN, Collections.emptyList(), Collections.emptyList(),
                      "labelUnknown")
test_class.modifier: private static
test_class.original_string: private static StatusInfo KNOWN_UNKNOWN_STATUS_INFO =
              StatusInfo.of(StatusInfo.Status.UNKNOWN, Collections.emptyList(), Collections.emptyList(),
                      "labelUnknown");
test_class.type: StatusInfo
test_class.var_name: KNOWN_UNKNOWN_STATUS_INFO
test_class.declarator: KNOWN_STATUS_INFO_JSON = JsonObject.newBuilder()
              .set(StatusInfo.JSON_KEY_LABEL, KNOWN_STATUS_INFO_LABEL)
              .set(StatusInfo.JSON_KEY_STATUS, KNOWN_STATUS.toString())
              .set(StatusInfo.JSON_KEY_DETAILS, toJsonArray(KNOWN_DETAILS_WITH_ERR, StatusDetailMessage::toJson))
              .build()
test_class.modifier: private static
test_class.original_string: private static JsonObject KNOWN_STATUS_INFO_JSON = JsonObject.newBuilder()
              .set(StatusInfo.JSON_KEY_LABEL, KNOWN_STATUS_INFO_LABEL)
              .set(StatusInfo.JSON_KEY_STATUS, KNOWN_STATUS.toString())
              .set(StatusInfo.JSON_KEY_DETAILS, toJsonArray(KNOWN_DETAILS_WITH_ERR, StatusDetailMessage::toJson))
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_STATUS_INFO_JSON
test_class.declarator: KNOWN_COMPOSITE_STATUS_INFO_JSON = JsonObject.newBuilder()
              .set(StatusInfo.JSON_KEY_LABEL, KNOWN_COMPOSITE_STATUS_INFO_LABEL)
              .set(StatusInfo.JSON_KEY_STATUS, KNOWN_STATUS.toString())
              .set(StatusInfo.JSON_KEY_DETAILS, toJsonArray(KNOWN_DETAILS_WITH_ERR, StatusDetailMessage::toJson))
              .set(StatusInfo.JSON_KEY_CHILDREN,
                      JsonFactory.newArrayBuilder(Collections.singleton(KNOWN_STATUS_INFO_JSON)).build())
              .build()
test_class.modifier: private static
test_class.original_string: private static JsonObject KNOWN_COMPOSITE_STATUS_INFO_JSON = JsonObject.newBuilder()
              .set(StatusInfo.JSON_KEY_LABEL, KNOWN_COMPOSITE_STATUS_INFO_LABEL)
              .set(StatusInfo.JSON_KEY_STATUS, KNOWN_STATUS.toString())
              .set(StatusInfo.JSON_KEY_DETAILS, toJsonArray(KNOWN_DETAILS_WITH_ERR, StatusDetailMessage::toJson))
              .set(StatusInfo.JSON_KEY_CHILDREN,
                      JsonFactory.newArrayBuilder(Collections.singleton(KNOWN_STATUS_INFO_JSON)).build())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_COMPOSITE_STATUS_INFO_JSON
test_class.declarator: KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO_JSON = JsonObject.newBuilder()
              .set(StatusInfo.JSON_KEY_STATUS, KNOWN_STATUS.toString())
              .set(StatusInfo.JSON_KEY_DETAILS, toJsonArray(KNOWN_DETAILS_WITH_ERR, StatusDetailMessage::toJson))
              .set(StatusInfo.JSON_KEY_CHILDREN,
                      JsonFactory.newArrayBuilder(Arrays.asList(KNOWN_STATUS_INFO_JSON,
                              KNOWN_COMPOSITE_STATUS_INFO_JSON)).build())
              .build()
test_class.modifier: private static
test_class.original_string: private static JsonObject KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO_JSON = JsonObject.newBuilder()
              .set(StatusInfo.JSON_KEY_STATUS, KNOWN_STATUS.toString())
              .set(StatusInfo.JSON_KEY_DETAILS, toJsonArray(KNOWN_DETAILS_WITH_ERR, StatusDetailMessage::toJson))
              .set(StatusInfo.JSON_KEY_CHILDREN,
                      JsonFactory.newArrayBuilder(Arrays.asList(KNOWN_STATUS_INFO_JSON,
                              KNOWN_COMPOSITE_STATUS_INFO_JSON)).build())
              .build();
test_class.type: JsonObject
test_class.var_name: KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO_JSON
test_class.file: services/utils/health/src/test/java/org/eclipse/ditto/services/utils/health/StatusInfoTest.java
test_class.identifier: StatusInfoTest
test_case.body: @Test
      public void toJsonReturnsExpected() {
          final JsonObject actualJson = KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO.toJson();
  
          assertThat(actualJson).isEqualTo(KNOWN_COMPOSITE_COMPOSITE_STATUS_INFO_JSON);
      }
test_case.class_method_signature: StatusInfoTest.toJsonReturnsExpected()
test_case.full_signature: @Test public void toJsonReturnsExpected()
test_case.identifier: toJsonReturnsExpected
test_case.invocations: toJson isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toJsonReturnsExpected()
focal_class.declarator: JSON_KEY_LABEL =
              JsonFactory.newStringFieldDefinition("label")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<String> JSON_KEY_LABEL =
              JsonFactory.newStringFieldDefinition("label");
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_KEY_LABEL
focal_class.declarator: JSON_KEY_STATUS =
              JsonFactory.newStringFieldDefinition("status")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<String> JSON_KEY_STATUS =
              JsonFactory.newStringFieldDefinition("status");
focal_class.type: JsonFieldDefinition<String>
focal_class.var_name: JSON_KEY_STATUS
focal_class.declarator: JSON_KEY_DETAILS =
              JsonFactory.newJsonArrayFieldDefinition("details")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<JsonArray> JSON_KEY_DETAILS =
              JsonFactory.newJsonArrayFieldDefinition("details");
focal_class.type: JsonFieldDefinition<JsonArray>
focal_class.var_name: JSON_KEY_DETAILS
focal_class.declarator: JSON_KEY_CHILDREN =
              JsonFactory.newJsonArrayFieldDefinition("children")
focal_class.modifier: public static final
focal_class.original_string: public static final JsonFieldDefinition<JsonArray> JSON_KEY_CHILDREN =
              JsonFactory.newJsonArrayFieldDefinition("children");
focal_class.type: JsonFieldDefinition<JsonArray>
focal_class.var_name: JSON_KEY_CHILDREN
focal_class.declarator: COMPOSITE_DETAILS_INCLUDE_LEVELS =
              Collections.unmodifiableSet(new HashSet<>(Arrays.asList(StatusDetailMessage.Level.ERROR,
                      StatusDetailMessage.Level.WARN)))
focal_class.modifier: private static final
focal_class.original_string: private static final Set<StatusDetailMessage.Level> COMPOSITE_DETAILS_INCLUDE_LEVELS =
              Collections.unmodifiableSet(new HashSet<>(Arrays.asList(StatusDetailMessage.Level.ERROR,
                      StatusDetailMessage.Level.WARN)));
focal_class.type: Set<StatusDetailMessage.Level>
focal_class.var_name: COMPOSITE_DETAILS_INCLUDE_LEVELS
focal_class.declarator: DEFAULT_EMPTY_STATUS = Status.UP
focal_class.modifier: private static final
focal_class.original_string: private static final Status DEFAULT_EMPTY_STATUS = Status.UP;
focal_class.type: Status
focal_class.var_name: DEFAULT_EMPTY_STATUS
focal_class.declarator: UNKNOWN_INSTANCE = fromStatus(Status.UNKNOWN)
focal_class.modifier: private static final
focal_class.original_string: private static final StatusInfo UNKNOWN_INSTANCE = fromStatus(Status.UNKNOWN);
focal_class.type: StatusInfo
focal_class.var_name: UNKNOWN_INSTANCE
focal_class.declarator: LOGGER = LoggerFactory.getLogger(StatusInfo.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(StatusInfo.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: status
focal_class.modifier: private final
focal_class.original_string: private final Status status;
focal_class.type: Status
focal_class.var_name: status
focal_class.declarator: details
focal_class.modifier: private final
focal_class.original_string: private final List<StatusDetailMessage> details;
focal_class.type: List<StatusDetailMessage>
focal_class.var_name: details
focal_class.declarator: children
focal_class.modifier: private final
focal_class.original_string: private final List<StatusInfo> children;
focal_class.type: List<StatusInfo>
focal_class.var_name: children
focal_class.declarator: label
focal_class.modifier: @Nullable
      private final
focal_class.original_string: @Nullable
      private final String label;
focal_class.type: String
focal_class.var_name: label
focal_class.file: services/utils/health/src/main/java/org/eclipse/ditto/services/utils/health/StatusInfo.java
focal_class.identifier: StatusInfo
focal_class.interfaces: implements Jsonifiable<JsonObject>
focal_class.class_method_signature: StatusInfo.StatusInfo(final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.full_signature: private  StatusInfo(final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.identifier: StatusInfo
focal_class.modifiers: private
focal_class.parameters: (final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.signature:  StatusInfo(final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.class_method_signature: StatusInfo.of(final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.full_signature: static StatusInfo of(final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.identifier: of
focal_class.modifiers: static
focal_class.parameters: (final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo of(final Status status, final Collection<StatusDetailMessage> details,
              final Collection<StatusInfo> children, @Nullable final String label)
focal_class.class_method_signature: StatusInfo.unknown()
focal_class.full_signature: public static StatusInfo unknown()
focal_class.identifier: unknown
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: StatusInfo
focal_class.signature: StatusInfo unknown()
focal_class.class_method_signature: StatusInfo.fromStatus(final Status status)
focal_class.full_signature: public static StatusInfo fromStatus(final Status status)
focal_class.identifier: fromStatus
focal_class.modifiers: public static
focal_class.parameters: (final Status status)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo fromStatus(final Status status)
focal_class.class_method_signature: StatusInfo.fromStatus(final Status status, @Nullable final String message)
focal_class.full_signature: public static StatusInfo fromStatus(final Status status, @Nullable final String message)
focal_class.identifier: fromStatus
focal_class.modifiers: public static
focal_class.parameters: (final Status status, @Nullable final String message)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo fromStatus(final Status status, @Nullable final String message)
focal_class.class_method_signature: StatusInfo.fromStatus(final Status status, final Collection<StatusDetailMessage> details)
focal_class.full_signature: public static StatusInfo fromStatus(final Status status, final Collection<StatusDetailMessage> details)
focal_class.identifier: fromStatus
focal_class.modifiers: public static
focal_class.parameters: (final Status status, final Collection<StatusDetailMessage> details)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo fromStatus(final Status status, final Collection<StatusDetailMessage> details)
focal_class.class_method_signature: StatusInfo.fromDetail(final StatusDetailMessage detail)
focal_class.full_signature: public static StatusInfo fromDetail(final StatusDetailMessage detail)
focal_class.identifier: fromDetail
focal_class.modifiers: public static
focal_class.parameters: (final StatusDetailMessage detail)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo fromDetail(final StatusDetailMessage detail)
focal_class.class_method_signature: StatusInfo.fromDetails(final Collection<StatusDetailMessage> details)
focal_class.full_signature: public static StatusInfo fromDetails(final Collection<StatusDetailMessage> details)
focal_class.identifier: fromDetails
focal_class.modifiers: public static
focal_class.parameters: (final Collection<StatusDetailMessage> details)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo fromDetails(final Collection<StatusDetailMessage> details)
focal_class.class_method_signature: StatusInfo.composite(final List<StatusInfo> children)
focal_class.full_signature: public static StatusInfo composite(final List<StatusInfo> children)
focal_class.identifier: composite
focal_class.modifiers: public static
focal_class.parameters: (final List<StatusInfo> children)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo composite(final List<StatusInfo> children)
focal_class.class_method_signature: StatusInfo.composite(final Map<String, StatusInfo> labeledChildren)
focal_class.full_signature: public static StatusInfo composite(final Map<String, StatusInfo> labeledChildren)
focal_class.identifier: composite
focal_class.modifiers: public static
focal_class.parameters: (final Map<String, StatusInfo> labeledChildren)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo composite(final Map<String, StatusInfo> labeledChildren)
focal_class.class_method_signature: StatusInfo.fromJson(final String jsonString)
focal_class.full_signature: public static StatusInfo fromJson(final String jsonString)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo fromJson(final String jsonString)
focal_class.class_method_signature: StatusInfo.fromJson(final JsonObject jsonObject)
focal_class.full_signature: public static StatusInfo fromJson(final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo fromJson(final JsonObject jsonObject)
focal_class.class_method_signature: StatusInfo.getStatus()
focal_class.full_signature: public Status getStatus()
focal_class.identifier: getStatus
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Status
focal_class.signature: Status getStatus()
focal_class.class_method_signature: StatusInfo.getDetails()
focal_class.full_signature: public List<StatusDetailMessage> getDetails()
focal_class.identifier: getDetails
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<StatusDetailMessage>
focal_class.signature: List<StatusDetailMessage> getDetails()
focal_class.class_method_signature: StatusInfo.getChildren()
focal_class.full_signature: public List<StatusInfo> getChildren()
focal_class.identifier: getChildren
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<StatusInfo>
focal_class.signature: List<StatusInfo> getChildren()
focal_class.class_method_signature: StatusInfo.getLabel()
focal_class.full_signature: public Optional<String> getLabel()
focal_class.identifier: getLabel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<String>
focal_class.signature: Optional<String> getLabel()
focal_class.class_method_signature: StatusInfo.label(@Nullable final String label)
focal_class.full_signature: public StatusInfo label(@Nullable final String label)
focal_class.identifier: label
focal_class.modifiers: public
focal_class.parameters: (@Nullable final String label)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo label(@Nullable final String label)
focal_class.class_method_signature: StatusInfo.isComposite()
focal_class.full_signature: public boolean isComposite()
focal_class.identifier: isComposite
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isComposite()
focal_class.class_method_signature: StatusInfo.addDetail(final StatusDetailMessage detail)
focal_class.full_signature: public StatusInfo addDetail(final StatusDetailMessage detail)
focal_class.identifier: addDetail
focal_class.modifiers: public
focal_class.parameters: (final StatusDetailMessage detail)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo addDetail(final StatusDetailMessage detail)
focal_class.class_method_signature: StatusInfo.isHealthy()
focal_class.full_signature: public boolean isHealthy()
focal_class.identifier: isHealthy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isHealthy()
focal_class.class_method_signature: StatusInfo.toJson()
focal_class.full_signature: @Override public JsonObject toJson()
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson()
focal_class.class_method_signature: StatusInfo.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: StatusInfo.equals(final Object obj)
focal_class.full_signature: @Override public boolean equals(final Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object obj)
focal_class.class_method_signature: StatusInfo.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: StatusInfo.getDetailsAsArray()
focal_class.full_signature: private JsonArray getDetailsAsArray()
focal_class.identifier: getDetailsAsArray
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: JsonArray
focal_class.signature: JsonArray getDetailsAsArray()
focal_class.class_method_signature: StatusInfo.getChildrenAsArray()
focal_class.full_signature: private JsonArray getChildrenAsArray()
focal_class.identifier: getChildrenAsArray
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: JsonArray
focal_class.signature: JsonArray getChildrenAsArray()
focal_class.class_method_signature: StatusInfo.getLabelOrIndexInfo(final int index)
focal_class.full_signature: private String getLabelOrIndexInfo(final int index)
focal_class.identifier: getLabelOrIndexInfo
focal_class.modifiers: private
focal_class.parameters: (final int index)
focal_class.return: String
focal_class.signature: String getLabelOrIndexInfo(final int index)
focal_class.class_method_signature: StatusInfo.mapToStatusInfo(final Status status, final @Nullable String message)
focal_class.full_signature: private static StatusInfo mapToStatusInfo(final Status status, final @Nullable String message)
focal_class.identifier: mapToStatusInfo
focal_class.modifiers: private static
focal_class.parameters: (final Status status, final @Nullable String message)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo mapToStatusInfo(final Status status, final @Nullable String message)
focal_class.class_method_signature: StatusInfo.mapToMessageLevel(final Status status)
focal_class.full_signature: private static StatusDetailMessage.Level mapToMessageLevel(final Status status)
focal_class.identifier: mapToMessageLevel
focal_class.modifiers: private static
focal_class.parameters: (final Status status)
focal_class.return: StatusDetailMessage.Level
focal_class.signature: StatusDetailMessage.Level mapToMessageLevel(final Status status)
focal_class.class_method_signature: StatusInfo.mapToStatusInfo(final StatusDetailMessage detail)
focal_class.full_signature: private static Status mapToStatusInfo(final StatusDetailMessage detail)
focal_class.identifier: mapToStatusInfo
focal_class.modifiers: private static
focal_class.parameters: (final StatusDetailMessage detail)
focal_class.return: Status
focal_class.signature: Status mapToStatusInfo(final StatusDetailMessage detail)
focal_class.class_method_signature: StatusInfo.mapToStatusInfo(final StatusDetailMessage.Level level)
focal_class.full_signature: private static Status mapToStatusInfo(final StatusDetailMessage.Level level)
focal_class.identifier: mapToStatusInfo
focal_class.modifiers: private static
focal_class.parameters: (final StatusDetailMessage.Level level)
focal_class.return: Status
focal_class.signature: Status mapToStatusInfo(final StatusDetailMessage.Level level)
focal_class.class_method_signature: StatusInfo.mapToStatusInfo(final Collection<StatusDetailMessage> details)
focal_class.full_signature: private static Status mapToStatusInfo(final Collection<StatusDetailMessage> details)
focal_class.identifier: mapToStatusInfo
focal_class.modifiers: private static
focal_class.parameters: (final Collection<StatusDetailMessage> details)
focal_class.return: Status
focal_class.signature: Status mapToStatusInfo(final Collection<StatusDetailMessage> details)
focal_class.class_method_signature: StatusInfo.labelStatuses(final Map<String, StatusInfo> statuses)
focal_class.full_signature: private static List<StatusInfo> labelStatuses(final Map<String, StatusInfo> statuses)
focal_class.identifier: labelStatuses
focal_class.modifiers: private static
focal_class.parameters: (final Map<String, StatusInfo> statuses)
focal_class.return: List<StatusInfo>
focal_class.signature: List<StatusInfo> labelStatuses(final Map<String, StatusInfo> statuses)
focal_class.class_method_signature: StatusInfo.createCompositeStatusInfo(final List<StatusInfo> children)
focal_class.full_signature: private static StatusInfo createCompositeStatusInfo(final List<StatusInfo> children)
focal_class.identifier: createCompositeStatusInfo
focal_class.modifiers: private static
focal_class.parameters: (final List<StatusInfo> children)
focal_class.return: StatusInfo
focal_class.signature: StatusInfo createCompositeStatusInfo(final List<StatusInfo> children)
focal_method.body: @Override
      public JsonObject toJson() {
          final JsonObjectBuilder jsonObjectBuilder = JsonFactory.newObjectBuilder();
  
          if (label != null) {
              jsonObjectBuilder.set(JSON_KEY_LABEL, label);
          }
  
          jsonObjectBuilder.set(JSON_KEY_STATUS, status.toString());
  
          final JsonArray detailsArray = getDetailsAsArray();
          if (!detailsArray.isEmpty()) {
              jsonObjectBuilder.set(JSON_KEY_DETAILS, detailsArray);
          }
  
          final JsonArray childrenArray = getChildrenAsArray();
          if (!childrenArray.isEmpty()) {
              jsonObjectBuilder.set(JSON_KEY_CHILDREN, childrenArray);
          }
  
          return jsonObjectBuilder.build();
      }
focal_method.class_method_signature: StatusInfo.toJson()
focal_method.full_signature: @Override public JsonObject toJson()
focal_method.identifier: toJson
focal_method.invocations: newObjectBuilder set set toString getDetailsAsArray isEmpty set getChildrenAsArray isEmpty set build
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: JsonObject
focal_method.signature: JsonObject toJson()